ryanqq / macwidgets

Automatically exported from code.google.com/p/macwidgets
0 stars 0 forks source link

MacWidgets-Background shows deselected when modal dialog is opened. #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Opening a modal dialog should not repaint the gradient-background of
macwidgets to show deselected state.

The problem is that mac os does not repaint the title bar, resulting in a
inconsistent look.

See the attacted screenshot.

(Mac OS 10.5.6/Java6u7 - same on other os'es)

Best,
Peter

Original issue reported on code.google.com by studp...@gmail.com on 30 Dec 2008 at 9:13

Attachments:

GoogleCodeExporter commented 9 years ago
I think you mean that the selection should not be painted in the inactive 
color. This actually seems like a bug in 
Apple's implementation as they change the color of the background color of the 
SourceList and the gradient of 
the title bar when a modal dialog opened.

At any rate, I'll look into the fix.

Original comment by kenneth....@gmail.com on 31 Dec 2008 at 12:25

GoogleCodeExporter commented 9 years ago
You're right - this seems to be an atw-bug.

The active/inactive state works as intended opening a generic modal dialog.
The bug exposed opening a FolderDialog, which is in principle a FileDialog (awt,
mrjadapter).

You can set this to low priority.

Original comment by studp...@gmail.com on 31 Dec 2008 at 12:59

GoogleCodeExporter commented 9 years ago
I'm disinclined to fix this as it really does seem like a bug. Whenever I want 
to check "ideal" behavior, I look at 
Coda. In this case, Coda does what Mac Widgets for Java does, namely, it paints 
the selected item with the 
inactive gradient color (see attached).

I'm open to further discussing this if you'd like.

Original comment by kenneth....@gmail.com on 31 Dec 2008 at 4:22

Attachments: