View Issue Details

IDProjectCategoryView StatusLast Update
0001863ardourbugspublic2007-09-13 15:59
Reporteroofus Assigned Topaul  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformDual 666MHz PIIIOSMandrivaOS Version2007
Product Version2.0 
Summary0001863: When using the 'Big Clock', if the editor window doesn't have focus, the 'Big Clock' is not visible.
DescriptionWhen using the 'Big Clock', if the editor window doesn't have focus, the 'Big Clock' is not visible.

eg If you start using the Mixer, that window gets focus and the Big Clock window 'goes away'.
TagsNo tags attached.

Activities

paul

2007-09-12 16:08

administrator   ~0004356

fixed in my local codebase(s) with the wonderful new GTK function Gtk::Window::set_keep_above (bool).

oofus

2007-09-13 11:02

developer   ~0004360

This doesn't appear to be fixed here. Do I not have the new GTK function Gtk::Window::set_keep_above (bool) ?

To re-state. Open the Editor and the mixer windows. Place them so they are not overlapping each other. Now open the Big Clock window. Place it so that it is not over the top of either of the editor or mixer windows. Click on the editor window, big clock is visible. Click on the mixer window, big clock window is removed. Click back on the editor window, big clock reappears.

paul

2007-09-13 11:13

administrator   ~0004361

"keep on top" is window-manager dependent. it works here with icewm. what WM do you use? here's what the docs for the GTK function say:
-------------------------------------------------------
Asks to keep window above, so that it stays on top. Note that you shouldn't assume the window is definitely above afterward, because other entities (e.g. the user or window manager) could not keep it above, and not all window managers support keeping windows above. But normally the window will end kept above. Just don't write code that crashes if not.

It's permitted to call this function before showing a window, in which case the window will be kept above when it appears onscreen initially.

You can track the above state via the "window_state_event" signal on GtkWidget.

Note that, according to the Extended Window Manager Hints specification, the above state is mainly meant for user preferences and should not be used by applications e.g. for drawing attention to their dialogs.

oofus

2007-09-13 15:59

developer   ~0004365

Fixed in SVN 2465.

Since big clock has "keep-on-top" set, don't bother with making it float above the editor.

Issue History

Date Modified Username Field Change
2007-09-10 12:39 oofus New Issue
2007-09-12 16:08 paul Status new => resolved
2007-09-12 16:08 paul Resolution open => fixed
2007-09-12 16:08 paul Assigned To => paul
2007-09-12 16:08 paul Note Added: 0004356
2007-09-13 11:02 oofus Status resolved => feedback
2007-09-13 11:02 oofus Resolution fixed => reopened
2007-09-13 11:02 oofus Note Added: 0004360
2007-09-13 11:13 paul Note Added: 0004361
2007-09-13 15:59 oofus Status feedback => closed
2007-09-13 15:59 oofus Note Added: 0004365
2007-09-13 15:59 oofus Resolution reopened => fixed