! 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 !
Alt + F4 open multiple windows when held
Status:
RESOLVED: MOVED
Severity:
trivial
Product:
Xfce4-session
Component:
General

Comments

Description Ricardo Biehl Pasquali 2016-09-03 17:05:58 CEST
In a recent post on Xfce4-dev mailing list I've commented
an issue about the 'xfsm-logout-dialog'
<https://mail.xfce.org/pipermail/xfce4-dev/2016-July/031701.html>.

Basically, when you press and hold Alt + F4 (or your close window key)
the save_yourself requests done initially from
xfce_sm_client_request_shutdown()
<https://github.com/xfce-mirror/xfwm4/blob/5effde6f2f12f8bbd895dbac14d7eb19dd897c7f/src/events.c#L491>
and handled by the session manager
<https://github.com/xfce-mirror/xfce4-session/blob/ac387875a5e0d4239848fa3560757fb7ef0c2338/xfce4-session/sm-layer.c#L253>
begin growing according with key repeat speed and aren't dropped. It
results in many logout dialog windows waiting to be executed while
there is already one dialog executing.

Other thing I saw in the code is here
<https://github.com/xfce-mirror/xfce4-session/blob/2f07bb790b86ce83603d70162f7730ccdc81220b/xfce4-session/xfsm-logout-dialog.c#L767>.
Is the keyboard grabbing necessary? For example: you can't see the
logout dialog until you release Alt + F4 key because the dialog is
continuously trying to grab the key being that it ungrab it shortly.

Cheers!
Comment 1 Theo Linkspfeifer editbugs 2019-06-13 15:50:23 CEST
*** Bug 15600 has been marked as a duplicate of this bug. ***
Comment 2 Git Bot editbugs 2020-05-26 00:48:31 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/xfce4-session/-/issues/41.

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 #12814

Reported by:
Ricardo Biehl Pasquali
Reported on: 2016-09-03
Last modified on: 2020-05-26
Duplicates (1):
  • 15600 Logout screen is triggered multi times after pressing Alt+F4

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Version:
Unspecified

Attachments

Additional information