From kde-panel-devel Sat Dec 31 22:02:42 2016 From: "xuetianweng (Xuetian Weng)" Date: Sat, 31 Dec 2016 22:02:42 +0000 To: kde-panel-devel Subject: [Differential] [Commented On] D3829: [touchpad] Use a separate X11 Display to monitor the XInput eve Message-Id: <20161231220242.88430.17206.A23658B5 () phabricator ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=148322178210501 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--39a7112ec2ce4a468bb98685546602c7" --39a7112ec2ce4a468bb98685546602c7 Content-Type: text/plain; charset="ascii" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit xuetianweng added a comment. In https://phabricator.kde.org/D3829#71988, @graesslin wrote: > In https://phabricator.kde.org/D3829#71877, @xuetianweng wrote: > > > In https://phabricator.kde.org/D3829#71714, @graesslin wrote: > > > > > Could you explain the relationship to global shortcuts? That sounds to me like a bug which needs to be fixed in kglobalaccel > > > > > > I don't really sure about this. So basically XlibNotifications uses XISelectEvent to monitor certain event. And strangely, the event is not received only if it is triggered by global hotkey. > > > Which "event"? search XIPropertyEvent in xlibnotifications.cpp For whatever reason, that part of code is not reached if it is triggered by global hotkey with current code, the display pointer is not shared with anyone.. I really don't understand why adding a new one helps, but it does help. REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D3829 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: xuetianweng, davidedmundson Cc: knambiar, graesslin, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas --39a7112ec2ce4a468bb98685546602c7 Content-Type: text/html; charset="ascii" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable View Revision=
xuetianweng added a comment.

In D3829#719= 88, @graesslin wrote:
In D3829#717= 14, @graesslin wrote:

Could you explain the relationship= to global shortcuts? That sounds to me like a bug which needs to be fixed = in kglobalaccel

I don't really sure about this. So basically XlibNotifications uses= XISelectEvent to monitor certain event. And strangely, the event is not re= ceived only if it is triggered by global hotkey.

Which "event"?

search XIPropertyEvent in xlibnotifications.cpp

For whatever reason, that part of code is not reached if it is triggered= by global hotkey with current code, the display pointer is not shared with= anyone.. I really don't understand why adding a new one helps, but it= does help.


REPOSITORY
= R119 Plasma Desktop

REVISION DETAIL
= https://phabricator.kde.org/D3829

EMAIL P= REFERENCES
https://phabricator.kde.org/settin= gs/panel/emailpreferences/

To: x= uetianweng, davidedmundson
Cc: knambiar, graesslin, p= lasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
--39a7112ec2ce4a468bb98685546602c7--