! 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 !
Cannot configure behaviour of MODAL windows
Status:
RESOLVED: MOVED
Severity:
enhancement

Comments

Description epeynet 2017-03-20 21:21:17 CET
We use X11 servers on centos 7 and XFCE4.
 The client sends Windows to this centos X11 server and we need to generate a modal Windows (ie Windows which is not able to go out with the mouse till you click close button) 

To have a modal windows we have always used by the past the option MWM_INPUT_SYSTEM_MODAL for the parameter XmNmwmInputMode

Result of xprop | grep MOTIF this Windows is

 MOTIF_WM_INTS(_MOTIF_WM_HINTS) = 0x7,0x3C,0xfffffff5, 0x2, 0x0
 seems to be correct

 Can not understand why centos 7 doesn't interpret the modal windows *
even with changing property of Windows using xprop I have not effect
 it is always possible to click out of this window with the mouse
  
I have tried:
 xprop -id windid -f _MOTIF_WM_HINTS 32a -set _MOTIF_WM_HINTS "0x7, 0x3c, 0xffffff5, 0x2 , 0x0" which is MWM_INPUT_SYSTEM_MODAL

 xprop -id windid -f _MOTIF_WM_HINTS 32a -set _MOTIF_WM_HINTS "0x7, 0x3c, 0xffffff5, 0x3 , 0x0" which is MWM_INPUT_FULL_APPLICATION_MODAL 

But no change in behaviour
Comment 1 Olivier Fourdan editbugs 2017-03-21 08:18:02 CET
MWM hints are mostly deprecated and partially supported in xfwm4.

Modality is probably not supported, and to be honest not something I'd want to support as this goes mostly against the user will.
Comment 2 Olivier Fourdan editbugs 2017-03-21 08:18:47 CET
MWM hints are mostly deprecated and partially supported in xfwm4.

Modality is probably not supported, and to be honest not something I'd want to support as this goes mostly against the user will.
Comment 3 epeynet 2017-04-07 10:58:14 CEST
Additionnal information

When  I open an XDMCP connection with correct authentification the Modal mode works correctly
If not Modal Mode doesn't work...
Probably an X11 authentication issues ... but where ???
Comment 4 Olivier Fourdan editbugs 2017-04-07 11:02:47 CEST
Again, xfwm4 does not support MWM_INPUT_SYSTEM_MODAL nor MWM_INPUT_FULL_ APPLICATION_MODAL, those are old deprecated Motif hints that I'm not interested in supporting, because I reckon restricting user's interactions by forcing focus on a specific window is not suitable.
Comment 5 Git Bot editbugs 2020-05-29 12:15:33 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/253.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #13447

Reported by:
epeynet
Reported on: 2017-03-20
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information