| [ Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File ]
STR #2230
Application: | FLTK Library |
Status: | 5 - New |
Priority: | 3 - Moderate, e.g. unable to compile the software |
Scope: | 1 - Specific to a machine/printer |
Subsystem: | Unassigned |
Summary: | Menus should not be animated when using Compiz - Ubuntu 9.04 |
Version: | 2.0-feature |
Created By: | isaque |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]
Trouble Report Comments:
[ Post Text ]
|
#1 | isaque 21:12 Jul 30, 2009 |
| All menu windows are being created as toplevel windows and compiz understand that's a regular window, so it make the window behave like a toplevel window.
I've done a patch to change that behavior. I've tested in my system and it worked. Unfortunately it was not possible to keep the shadows. | |
|
#2 | isaque 17:53 Jul 31, 2009 |
| Well, the patch I though would fix the issue actually introduced a new one.
Now the menu windows have parent's boundaries and can't bypass it.
The only thing that can guarantee "no animation" is the override_redirect attribute, but I don't understand why it's not working.
I've created a simple Xlib program to test that in compiz and it seems that compiz is actually respecting it and not bothering with window.
So, more investigation to go. I'll be posting my progress (if any) here.
For now, I'll try to upload the Xlib program I created. If you have compiz there, please try and see what I'm saying.
Thanks. | |
|
#3 | isaque 20:45 Jul 31, 2009 |
| Finally I figure it out.
The trick is to inform Compiz which kind of window the menu is. In order to do that you need to set the _NET_WM_WINDOW_TYPE property with the _NET_NW_WINDOW_TYPE_MENU value.
New patch uploaded. | |
|
#4 | alvin 04:25 Aug 11, 2009 |
| FYI, this STR is related to STR#2082 (http://www.fltk.org/str.php?L2082). I have been using the patches from STR#2082 for sometime now without any problems.
Cheers,
Alvin | |
|
#5 | isaque 04:55 Aug 11, 2009 |
| Hi Alvin.
Thanks for the tip. I'll apply your patch and change mine to use yours as code base.
Thanks. | |
|
#6 | alvin 05:36 Aug 11, 2009 |
| I should point out that STR#2082 is for FLTK 1.x. So, you will need to take take when merging those patches. | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |