Bugzilla – Attachment 151309 Details for
Bug 122293
kde5: Tooltips for toolbar icons not properly shown on Wayland
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Demo patch to add some debug output
0001-Add-some-debug-output.patch (text/plain), 1.70 KB, created by
Michael Weghorn
on 2019-05-11 16:32:29 UTC
(
hide
)
Description:
Demo patch to add some debug output
Filename:
MIME Type:
Creator:
Michael Weghorn
Created:
2019-05-11 16:32:29 UTC
Size:
1.70 KB
patch
obsolete
>From f4e3459130c65b490e7cd8a532c4d9a93fb83a0f Mon Sep 17 00:00:00 2001 >From: Michael Weghorn <m.weghorn@posteo.de> >Date: Fri, 10 May 2019 23:02:31 +0200 >Subject: [PATCH] Add some debug output > >The output is generated on X11 when moving mouse, >but for Wayland, this is only shown when a mouse >button is pressed while moving the mouse, which seems >to be the cause for the issue. > >Change-Id: I3a15805592b89f0b136674d62fad08702ccfae5e >--- > vcl/qt5/Qt5Widget.cxx | 2 ++ > vcl/source/window/winproc.cxx | 1 + > 2 files changed, 3 insertions(+) > >diff --git a/vcl/qt5/Qt5Widget.cxx b/vcl/qt5/Qt5Widget.cxx >index a4c01cdede32..12ee7779f857 100644 >--- a/vcl/qt5/Qt5Widget.cxx >+++ b/vcl/qt5/Qt5Widget.cxx >@@ -159,6 +159,8 @@ void Qt5Widget::mouseMoveEvent(QMouseEvent* pEvent) > aEvent.mnCode = GetKeyModCode(pEvent->modifiers()) | GetMouseModCode(pEvent->buttons()); > aEvent.mnButton = 0; > >+ SAL_WARN("vcl.pos", "hasMouseTracking: " << this->hasMouseTracking()); >+ > m_rFrame.CallCallback(SalEvent::MouseMove, &aEvent); > pEvent->accept(); > } >diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx >index 7461df654a6c..de0a16c5008e 100644 >--- a/vcl/source/window/winproc.cxx >+++ b/vcl/source/window/winproc.cxx >@@ -2000,6 +2000,7 @@ static bool ImplHandleSalMouseLeave( vcl::Window* pWindow, SalMouseEvent const * > > static bool ImplHandleSalMouseMove( vcl::Window* pWindow, SalMouseEvent const * pEvent ) > { >+ SAL_WARN("vcl.pos", "Position: " << pEvent->mnX << ", " << pEvent->mnY); > return ImplHandleMouseEvent( pWindow, MouseNotifyEvent::MOUSEMOVE, false, > pEvent->mnX, pEvent->mnY, > pEvent->mnTime, pEvent->mnCode, >-- >2.20.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 122293
: 151309