! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Making a dialog transient makes the plugin unclickable
Status:
RESOLVED: INVALID
Product:
Xfce4-panel
Component:
Libxfce4panel

Comments

Description Mike Massonnet editbugs 2009-02-23 00:21:43 CET
Hi,

I'm used to set the properties dialog transient to the toplevel widget of a panel plugin with DESTROY_WITH_PARENT.  This used to work fine, until a certain release (that's what I have noted).  Now the plugin remains unclickable, even though the dialog is not modal.

I did this for the clipman plugin, and I thought it was a weird bug because I am using a Glade dialog.  Lately I rebuilded the notes plugin and now it has the same problem.

Excepected result:
  The user can click on the panel plugin.
Comment 1 Nick Schermer editbugs 2009-02-23 07:33:14 CET
You're using gtk_dialog_run?
Comment 2 Mike Massonnet editbugs 2009-02-23 13:19:48 CET
Yes, i always did so. Why did that change?
Comment 3 Mike Massonnet editbugs 2009-02-23 13:23:24 CET
Checking in devhelp, "Also, during gtk_dialog_run() the dialog will be modal".

So now it honors the correct behavior. I'm gonna fix this in my plugin.
Comment 4 Nick Schermer editbugs 2009-02-23 14:25:57 CET
Yup, sorry. One thing you can look at is putting the dialog in a new GtkWindowGroup because grabs apply to the group of the window, by default all the windows are in 1 group. This is what I did in Thunar to make main windows not block each other when a modal dialog is open.

Closing this bug.

Bug #4977

Reported by:
Mike Massonnet
Reported on: 2009-02-23
Last modified on: 2009-02-23

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified

Attachments

Additional information