Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47620 - gkrellm-2.1.28-r1 doesn't use the window manager's slit/dock
Summary: gkrellm-2.1.28-r1 doesn't use the window manager's slit/dock
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 45335
Blocks:
  Show dependency tree
 
Reported: 2004-04-12 11:42 UTC by Felix Braun
Modified: 2004-05-08 05:22 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Braun 2004-04-12 11:42:36 UTC
I upgraded to the new gkrellm-2.1.28-r1 today. This version of does not use the dock / slit of my window manager when started with the option --withdrawn. (I use OpenBox 3.1) gkrellm-2.1.27 works as expected. I'm downgrading for the moment.


Reproducible: Always
Steps to Reproduce:
1. emerge gkrellm-2.1.28-r1
2. launch it with gkrellm2 --withdrawn


Actual Results:  
Window opens normally, not in slit/dock

Expected Results:  
Window opens in window manager's slit/dock
Comment 1 Radek Podgorny 2004-04-12 12:14:57 UTC
This is being solved elsewhere AFAIK. I think it was gtk-2.4's problem... :-(

Radek
Comment 2 Lukas Miczka 2004-04-12 12:50:19 UTC
The same problem on Gnome 2.6 and gtk+ 2.4 ;(
Comment 3 Felix Braun 2004-04-13 06:10:26 UTC
Just as a data point, I'm still on gtk+ 2.2 so this issue is not resticted to gtk+ 2.4.

It seems that the same issue was already discussed in bug 45335. I'm sorry, but that bug did not turn up when I looked for existing bug reports (because I only looked for open ones). Maybe bug 45335 should be reopened and this bug marked as duplicate?
Comment 4 Arve Knudsen 2004-04-13 07:59:24 UTC
Could be down to differences between WMs. -r1 made withdrawal work with Fluxbox and GTK+ 2.4. I came up with the workaround which made it into -r1, where window hints are passed to the WM after the window is shown by GTK+. As far as I can tell, this helped because GTK+ 2.4 updates window hints when showing the window. The proper solution would probably be to withdraw the window with the help of GTK+, but I'm no expert on the API and couldn't find out how to implement it.
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2004-04-13 08:42:51 UTC
Markus: any idea ?
Comment 6 Arve Knudsen 2004-04-13 11:50:32 UTC
This looks like an inherent problem with GTK+ 2.4.0 to me, since it simply overrides WM hints already set. The best thing would probably be if there was a way to set this through the GTK+ API, maybe second best would be to respect an existing state hint (in update_wm_hints).
Comment 7 Felix Braun 2004-04-13 12:22:42 UTC
OK, I just re-emerged 2.1.28-r1 *without* the gtk2.4 patch applied to it and now everything works like a charm.

It appears that the patch is a valid work-around but *only* if you are using gtk2.4, on gtk2.2 the patch actually *causes* the misbehaviour.

Sigh...
Comment 8 Alexandru Toma 2004-05-01 01:19:02 UTC
---QUOTE---
It appears that the patch is a valid work-around but *only* if you are using gtk2.4, on gtk2.2 the patch actually *causes* the misbehaviour.
---END-QUOTE---

Actually, the patch doesn't work for all gtk
Comment 9 Alexandru Toma 2004-05-01 01:25:08 UTC
Sorry about that... to finish my idea...

The patch doesn't work for all gtk-2.4.0 users and it also doesn't work for all fluxbox users it seems. At least, it doesn't work for me. I was using fluxbox-0.1.14-r2 and, after reading comment #4, I thought that upgrading fluxbox to 0.9.8-r1 would make things work again, but it doesn't seem to be the case
Comment 10 Alexandru Toma 2004-05-01 01:32:35 UTC
I spoke too soon ... the name of the executable used to run fluxbox seems to have changed between versions... it is now startfluxbox. After using that gkrellm work like before.
Comment 11 Felix Braun 2004-05-08 05:22:29 UTC
After upgrading to gtk+2.4 because it was marked stable, I was still having problems with gkrellm withdrawing to the slit. My impression (actually sparked by comment #16 in bug 45335) is that the whole problem is a timing issue. So I put a sleep .5s between starting gkrellm and openbox, which fixes the problem for me!