After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 751234 - Tear-off menu floats on workspace
Tear-off menu floats on workspace
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-06-19 17:31 UTC by Tobias Schönberg
Modified: 2016-01-30 16:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
showing free floating tear-off menu on workspace (251.64 KB, image/png)
2015-06-19 17:32 UTC, Tobias Schönberg
Details

Description Tobias Schönberg 2015-06-19 17:31:40 UTC
When creating a menu and setting it tear-off = True in Glade will result in the menu to float on the workspace like a pop-up or dialog.

I can reproduce this on 3.18.3 and 3.19.0. Some of the errors that are printed are:

(glade:3595): GLib-GObject-WARNING **: The property GtkMenu:tearoff-state is deprecated and shouldn't be used anymore. It will be removed in a future version.

(glade:3595): GLib-GObject-WARNING **: The property GtkMenu:tearoff-title is deprecated and shouldn't be used anymore. It will be removed in a future version.

(glade:3595): Gdk-CRITICAL **: gdk_window_get_height: assertion 'GDK_IS_WINDOW (window)' failed

(glade:3595): Gdk-CRITICAL **: gdk_device_get_position_double: assertion 'GDK_IS_DEVICE (device)' failed

(glade:3595): Gdk-CRITICAL **: gdk_device_get_position_double: assertion 'GDK_IS_DEVICE (device)' failed

(glade:3595): GLib-GObject-WARNING **: The property GtkMenuItem:right-justified is deprecated and shouldn't be used anymore. It will be removed in a future version.

(glade:3595): Gdk-CRITICAL **: gdk_device_get_position_double: assertion 'GDK_IS_DEVICE (device)' failed
Comment 1 Tobias Schönberg 2015-06-19 17:32:29 UTC
Created attachment 305710 [details]
showing free floating tear-off menu on workspace
Comment 2 Tristan Van Berkom 2016-01-28 16:15:52 UTC
Fixed with the following commit:

commit 5d6069a4dcf52ea89bd482dd2ffe395839019165
Author: Tristan Van Berkom <tristan@upstairslabs.com>
Date:   Thu Jan 28 17:13:03 2016 +0100

    Bug 751234 - Ignore tearoff-state property in the workspace
    
    Dont let menus float away into the desktop
Comment 3 Tobias Schönberg 2016-01-30 16:12:59 UTC
Thank you very much!