Summary: | [wayland] tooltips appear in wrong place | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Ilgaz Öcal <ilgaz> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | bugseforuns, ilgaz, L.Bonnaud, nate, rushpl, skierpage |
Priority: | NOR | Keywords: | wayland |
Version: | 5.25.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/f065d74af6ebbf749a9513da372218b2d8df8718 | Version Fixed In: | 5.24.1 |
Sentry Crash Report: | |||
Attachments: |
Screenshot with wrongly placed tooltip
tooltip problem in KDE neon kwin titlebar tooltip appears on wrong display, in correct horizontal position Screenshot of tooltip being in wrong place Screen layout |
Description
Ilgaz Öcal
2021-02-12 15:55:40 UTC
I observe the same problem on my system (see attached screenshot): Ubuntu 21.04 Plasma 5.22 KF5 5.83 Here is a way to reproduce the problem: 1. Go to "Workspace Behavior", "General Behavior" 2. Place the mouse pointer on the "Reset" button 3. Wait for the tooltip to appear 4. Move the pointer to the "Default" button 5. Wait for the tooltip to appear 6. Move the pointer to the "Help" button 7. Wait for the tooltip to appear Created attachment 139317 [details]
Screenshot with wrongly placed tooltip
Cannot reproduce with a full git master session. Do you see this issue in any other apps, or just System Settings? > Cannot reproduce with a full git master session.
I can reproduce it in KDE neon "Unstable Edition/Unstable branches" with updates from today, see attached screenshot.
Created attachment 139332 [details]
tooltip problem in KDE neon
> Do you see this issue in any other apps, or just System Settings? I saw a similar (but not quite the same) problem with drkonqi, see bug #438643. Ah *those* tooltips. *** Bug 438643 has been marked as a duplicate of this bug. *** Same bug affects Kicker and popups of applets in system tray, see bug 443843. Created attachment 146554 [details]
kwin titlebar tooltip appears on wrong display, in correct horizontal position
I noticed something like this, but slightly different to other reports. I have an external DisplayPort monitor above my laptop screen, and I keep my task bar and most windows on the upper display. Today I noticed that the tooltips for the titlebar icons of every window on the upper screen appear at the top of the laptop display below, see attachment. You can see the the tooltip is in the correct horizontal position but on the wrong display, as if it's constrained to fit on the laptop display. Application tooltips, applet tooltips, etc. all appear in the correct place on the correct display; titlebar icon tooltips of windows on the laptop (lower) display appear in the correct place. I've never noticed this before, and in this session I changed my Colors theme to fix bug 449587; I suspect the glitch will go away after I restart. I adjusted monitor positions slightly and changed my Colors theme again and the glitch remained. Nothing appears in journalctl at the time I hover over a titlebar icon, though I see a bunch of > plasmashell[1437] This plugin does not support viewport positions in journal output. SOFTWARE/OS VERSIONS Operating System: Fedora Linux 35 KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.16.5-200.fc35.x86_64 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-6300U CPU @ 2.40GHz Memory: 7.6 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 520 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1999 Note that the ^ mr only fixes decoration tooltips inside kwin, there's an upstream bug about popups being incorrectly placed in normal apps https://bugreports.qt.io/browse/QTBUG-85297 Git commit 712dbc412275585344f5b13d982939d288a0aea2 by Vlad Zahorodnii. Committed on 11/02/2022 at 10:08. Pushed by vladz into branch 'master'. wayland: Fix mispositioned decoration tooltips QPlatformScreen::virtualSiblings() must return a list of screens on the virtual desktop, otherwise QToolTip will use QGuiApplication::primaryScreen() instead of looking up the screen where the decoration tooltip must be shown using QDesktopWidget::screenNumber(). M +6 -1 src/plugins/qpa/integration.cpp M +2 -1 src/plugins/qpa/integration.h M +17 -1 src/plugins/qpa/screen.cpp M +4 -1 src/plugins/qpa/screen.h https://invent.kde.org/plasma/kwin/commit/712dbc412275585344f5b13d982939d288a0aea2 Git commit f065d74af6ebbf749a9513da372218b2d8df8718 by Vlad Zahorodnii. Committed on 11/02/2022 at 13:33. Pushed by vladz into branch 'Plasma/5.24'. wayland: Fix mispositioned decoration tooltips QPlatformScreen::virtualSiblings() must return a list of screens on the virtual desktop, otherwise QToolTip will use QGuiApplication::primaryScreen() instead of looking up the screen where the decoration tooltip must be shown using QDesktopWidget::screenNumber(). (cherry picked from commit 712dbc412275585344f5b13d982939d288a0aea2) M +6 -1 src/plugins/qpa/integration.cpp M +2 -1 src/plugins/qpa/integration.h M +17 -1 src/plugins/qpa/screen.cpp M +4 -1 src/plugins/qpa/screen.h https://invent.kde.org/plasma/kwin/commit/f065d74af6ebbf749a9513da372218b2d8df8718 I just switched to Wayland from X11 and encountered this issue on Plasma 5.25.2 Created attachment 150356 [details]
Screenshot of tooltip being in wrong place
In that case, it's one of these two Qt bugs: - https://bugreports.qt.io/browse/QTBUG-102982 - https://bugreports.qt.io/browse/QTBUG-49663 Created attachment 150457 [details]
Screen layout
For reference, this is my screen layout. Not sure why the bug was marked as resolved when it's clearly not resolved. Just because the bug exists in mainstream doesn't mean the users do not suffer with this project. I personally think it's a very bad practice to close the issue in the actual project which is suffering. Upstream may not even care about the issue.
Nate Graham can we reopen in case other users suffer from this issue? (In reply to Vlad Zahorodnii from comment #13) > Note that the ^ mr only fixes decoration tooltips inside kwin, there's an > upstream bug about popups being incorrectly placed in normal apps > https://bugreports.qt.io/browse/QTBUG-85297 Qt bug is fixed in Qt 6.4 but the tooltips of apps built against Qt 6 like Strawberry music player are still misplaced on Wayland. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.25.90 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 Graphics Platform: Wayland |