Bug 169 - On-top settings not honoured at startup
Status:
RESOLVED FIXED
Component:
GUI
Version:
1.0.0
Hardware:
PC Linux
Importance:
P2 normal
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Dec 9 2002 16:30:14 UTC
by:
Twigman
Modified:
Dec 28 2002 05:07:14 UTC
WhoWhenWhatRemovedAdded
Rob CaelersDec 20 2002 01:26:50 UTCstatusNEWASSIGNED
Rob CaelersDec 27 2002 14:18:14 UTCstatusASSIGNEDRESOLVED
resolutionFIXED
Rob CaelersDec 28 2002 02:57:43 UTCstatusRESOLVEDREOPENED
resolutionFIXED
Rob CaelersDec 28 2002 05:07:14 UTCresolutionFIXED
statusREOPENEDRESOLVED
Description
Twigman  Dec 9 2002 16:30:14 UTC
Keep main window on top setting is not honored on startup.

If you go into preferences and turn on top off then go back into preferences and
turn on top on the main window will stay on top.

by the way, I love this app...
Comment 1
Twigman  Dec 9 2002 21:01:04 UTC
sorry, thought I should add... This is using workrave compiled with just a
--prefix. ie: not with gnome or gconf.
Comment 2
Rob Caelers  Dec 27 2002 14:18:14 UTC
I fixed a couple of bugs in the XML configuration backend. The configuration is
properly saved.
Comment 3
Twigman  Dec 27 2002 17:38:34 UTC
Just checking, I recompiled workrave with gconf backend. The bug was still
there. Then I checked after closing workrave and the on-top setting was in the
gconf db.

I think this may be a problem with the startup, I edited the 

gui/gtkmm/MainWindow.cc file and changed line 223 from
  WindowHints::set_always_on_top(Gtk::Widget::gobj(), always_on_top);
to
  WindowHints::set_always_on_top(Gtk::Widget::gobj(), true);

a compile later and it's still not ontop when it starts.

I should probably mention I'm using metacity 2.4.5
Comment 4
Rob Caelers  Dec 28 2002 02:57:43 UTC
Strange. I'm using sawfish. I will check this bug with metacity.
Comment 5
Rob Caelers  Dec 28 2002 05:07:14 UTC
Fixed. It seems that metacity does not honour the always-on-top when the window
is not yet visible...