[kwin] [Bug 383052] KDE allows applications to freeze whole GUI

2017-08-02 Thread Alain Knaff
https://bugs.kde.org/show_bug.cgi?id=383052

--- Comment #8 from Alain Knaff  ---
>> I'm just wondering why such disruptive functions still exist in the X API :-(
>
> Because you cannot break it.

But *why* can't you remove it? Even screensavers don't depend on this nowadays
(just tried it. Start sesson with xgrab.so workaround. Lock Screen. Press
Alt-F2. Nope, this *doesn't* bring up a command prompt, screen stays safely
locked.)

> In fact currently there are proposals to add exactly this to Wayland to allow 
> backward compatibility.

One more reason not to move over to Wayland... But seriously, what kind of
*useful* functionality is this supposed to bring? I mean, useful to the user,
not to advertisers, marketers, spammers and scammers...

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 383052] KDE allows applications to freeze whole GUI

2017-08-02 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=383052

Martin Flöser  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #7 from Martin Flöser  ---
> I'm just wondering why such disruptive functions still exist in the X API :-(

Because you cannot break it. In fact currently there are proposals to add
exactly this to Wayland to allow backward compatibility.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 383052] KDE allows applications to freeze whole GUI

2017-08-02 Thread Alain Knaff
https://bugs.kde.org/show_bug.cgi?id=383052

--- Comment #6 from Alain Knaff  ---
Indeed, it seems to be XGrabKeyboard that they are doing, thanks for the
pointer.

The workaround at https://bugs.freedesktop.org/show_bug.cgi?id=21652#c4
succeeds in addressing the issue, without any negative side-effects.

I'm just wondering why such disruptive functions still exist in the X API :-(

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 383052] KDE allows applications to freeze whole GUI

2017-08-02 Thread Alain Knaff
https://bugs.kde.org/show_bug.cgi?id=383052

Alain Knaff  changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|INVALID |---

--- Comment #5 from Alain Knaff  ---
> The X11 protocol allows applications to grab keyboard input

However, it's not just the keyboard, but the mouse too.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 383052] KDE allows applications to freeze whole GUI

2017-08-02 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=383052

Martin Flöser  changed:

   What|Removed |Added

  Component|libinput|general
 Resolution|WAITINGFORINFO  |INVALID
 Status|NEEDSINFO   |RESOLVED
  Flags||Wayland-, X11+

--- Comment #4 from Martin Flöser  ---
This is not a problem in the window manager and also not a problem the window
manager can prevent. The X11 protocol allows applications to grab keyboard
input. This is a standard feature of any context menu. The general pattern is
to release the grab as soon as one clicks outside the context menu. Firefox is
not doing that apparently.

I'm sorry, but we cannot do anything about it on X11.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 383052] KDE allows applications to freeze whole GUI

2017-08-02 Thread Alain Knaff
https://bugs.kde.org/show_bug.cgi?id=383052

--- Comment #3 from Alain Knaff  ---
52.2.0 (64-bit)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 383052] KDE allows applications to freeze whole GUI

2017-08-02 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=383052

Martin Flöser  changed:

   What|Removed |Added

   Severity|critical|normal

--- Comment #2 from Martin Flöser  ---
Resetting importance till it's investigated whether there is really a severe
issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 383052] KDE allows applications to freeze whole GUI

2017-08-02 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=383052

Martin Flöser  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Martin Flöser  ---
Sorry, but I need a little bit more information about the problem than "current
Firefox". I don't have access to this Firefox version, thus I cannot
investigate.

-- 
You are receiving this mail because:
You are watching all bug changes.