Bug 628

Summary: [Chameleon - PopUpCSS] Improper use of Shared Resource.
Product: Chameleon Reporter: Chris Thorne <cthorne@dmsolutions.ca>
Component: CoreAssignee: chameleon-dev <chameleon-dev@lists.maptools.org>
Status: NEW    
Severity: enhancement    
Priority: P3    
Version: 1.99   
Target Milestone: FUTURE   
Hardware: PC   
OS: Windows 2000   
Whiteboard: Need Product Discussion - 20041102

Description From 2004-08-24 20:54:07
[Chameleon - PopUpCSS] Improper use of Shared Resource.

The PopUpCSS Shared Resource does not seem to be consistent with other Shared
Resources. In fact on my review this shared resource should really not exist.
All this shared Resource seems to do poorly is defined global widget popup
attribute.

Suggested fix to this:

Create an PopUpCss attribute within the popup attribute group.

This way each popup widget can call a specific css file for each popup. I
realize this may not be totally practical, but there maybe reason unknown to us
that users may wish to use this. More importantly it should be consistent within
chameleon this should be done.

To replace PopUpCss there should be a new PopUpStyle Shared Resource. See bug 627.

In my opinion this is a bug. It is difficult to determine weather this should be
an enhancement for 2.0, or 2.1, or a development feature requirement for 1.99.
The fix will have a large a global effect on multiple widgets. Darren and Paul
should talk this one over.
------- Comment #1 From 2004-10-12 22:24:17 -------
We also need to handle spinners (as noted in bug 627) probably using the same
mechanism.

Note that in general, it is desirable for all popups to use the same css to make
sure a consistent style is used in all popups (this is one of the fundamental
parts of the skinning support in Chameleon).

Targetting future.