After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 419125 - Prelight not quite working
Prelight not quite working
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: themes
2.18.x
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2007-03-16 21:39 UTC by Benjamin Berg
Modified: 2016-08-18 11:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Metacity theme that shows the error (23.06 KB, text/plain)
2008-03-11 01:55 UTC, Benjamin Berg
Details

Description Benjamin Berg 2007-03-16 21:39:23 UTC
Prelight works fine on the right side, if the menu button is on the left. On the left side thinks work fine if there is only the menu button. But everything else screws up.
If the cursor is about the menu button, it seems that always the first button is drawn with prelight. A setup like:
  shade,stick:menu,minimize,maximize,close
has some really weird results. List of what happens when one moves the cursor above the button:

shade:
  The "icon" is prelit, but not the button border.

stick:
  Not sure, probably the same as "shade" (don't draw anything there right now)

menu:
  The button border of the "shade" button gets the prelight, but not its content. (content probably at the right place, but not sure as I currently just use the icon and don't modify the prelight)

minimize:
  Button border of the "menu" button, contents of the "minimize" button.

maximize:
  button border of both "menu" and "maximize" buttons, and contents of "maximize" button.

close:
  This is done correctly.
Comment 1 Benjamin Berg 2007-03-16 21:45:40 UTC
Oh, this is also the case for the pressed state.
Comment 2 Thomas Thurman 2008-03-11 01:46:50 UTC
So in all cases the contents of the button are prelit correctly, but the border is different.  Can you suggest a good theme to see this in?  I tried it in Crux, but the effect is indistinguishable.
Comment 3 Benjamin Berg 2008-03-11 01:54:41 UTC
Ah, I'll attach my HighContrast theme whith which the bug can be seen nicely.
Comment 4 Benjamin Berg 2008-03-11 01:55:25 UTC
Created attachment 107028 [details]
Metacity theme that shows the error
Comment 5 Screwtape 2008-11-21 13:43:41 UTC
I wonder if this is related to bug 401726.
Comment 6 Benjamin Berg 2008-11-21 14:37:47 UTC
Yeah, sounds like it could be the same issue.