Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-07

IDE + GTK2 widgetset + Compiz enabled = Incorrect WM Hints

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

For the first time in ages I decided to enabled Compiz (Ubuntu 8.0.4.2 + Gnome Desktop). I only have the Normal Effects enabled - that is already more effects than I can handle. ;-)

Anyway, I noticed that if you type 'try' & Ctrl+J in enable the Code Templates popup menu, that the wrong Compiz animation is used. It uses the standard Window animation and not the Popup Menu or Popup Window animation.

'_NET_WM_WINDOW_TYPE_POPUP_MENU' or ''_NET_WM_WINDOW_TYPE_MENU' needs to be set somewhere in the GTK2 widgetset layer for that window.

Another issue is when you type a partial name of a unit and press Ctrl+Space or Ctrl+W to do name or word completion. The same issue appears with that popup menu.

This is not a issue with all popup menus though. Right clicking on the editor to bring up its popup menu, the animation effect is correct. Same thing when you right click in any edit component.

So it seems just the Code Templates popup menu is wrong.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/

Reply by email

Paul Ishenin
to Graeme Geldenhuys
Graeme Geldenhuys wrote 21 lines
For the first time in ages I decided to enabled Compiz (Ubuntu 8.0.4.2 + Gnome Desktop). I only have the Normal Effects enabled - that is already more effects than I can handle. ;-) Anyway, I noticed that if you type 'try' & Ctrl+J in enable the Code Templates popup menu, that the wrong Compiz animation is used. It uses the standard Window animation and not the Popup Menu or Popup Window animation. '_NET_WM_WINDOW_TYPE_POPUP_MENU' or ''_NET_WM_WINDOW_TYPE_MENU' needs to be set somewhere in the GTK2 widgetset layer for that window. Another issue is when you type a partial name of a unit and press Ctrl+Space or Ctrl+W to do name or word completion. The same issue appears with that popup menu. This is not a issue with all popup menus though. Right clicking on the editor to bring up its popup menu, the animation effect is correct. Same thing when you right click in any edit component. So it seems just the Code Templates popup menu is wrong.

LCL does not have popup forms. And Code Templates window is not a popup menu.

I suspect everything else wors ideally in lazarus for you if you want we fix that serious problems :)

Best regards,
Paul Ishenin.

Reply by email

Graeme Geldenhuys
to Paul Ishenin
Paul Ishenin wrote
> So it seems just the Code Templates popup menu is wrong. LCL does not have popup forms. And Code Templates window is not a popup menu.

Well it acts like a popup window. It always appears at the cursor location, doesn't contain window border decoration etc... That sounds like a popup form/window to me. ;-)

I suspect everything else wors ideally in lazarus for you if you want we fix that serious problems :)

Yeah, everything else seems fine with Compiz enabled. But no, this is not a serious bug, just an eye-candy request.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/

Reply by email

Michael Van Canneyt
to Paul Ishenin: LCL does not have popup forms. And Code Templates window is not a popup menu. I suspect…
Paul Ishenin wrote 25 lines
Graeme Geldenhuys wrote: > For the first time in ages I decided to enabled Compiz (Ubuntu 8.0.4.2 + > Gnome Desktop). I only have the Normal Effects enabled - that is already > more effects than I can handle. ;-) > > Anyway, I noticed that if you type 'try' & Ctrl+J in enable the Code > Templates popup menu, that the wrong Compiz animation is used. It uses the > standard Window animation and not the Popup Menu or Popup Window animation. > > '_NET_WM_WINDOW_TYPE_POPUP_MENU' or ''_NET_WM_WINDOW_TYPE_MENU' needs to be > set somewhere in the GTK2 widgetset layer for that window. > > Another issue is when you type a partial name of a unit and press > Ctrl+Space or Ctrl+W to do name or word completion. The same issue > appears with that popup menu. > > This is not a issue with all popup menus though. Right clicking on the > editor to bring up its popup menu, the animation effect is correct. Same > thing when you right click in any edit component. > > So it seems just the Code Templates popup menu is wrong. LCL does not have popup forms. And Code Templates window is not a popup menu. I suspect everything else wors ideally in lazarus for you if you want we fix that serious problems :)

The problem is deeper than you may expect: the popup hints don't work at all under OpenBox window manager, when in all other apps they seem to work fine.

I'm not saying that this is a Lazarus/LCL problem, but the problem of Window-Manager hints is obviously not a trivial one :(

Michael.

Reply by email