| Summary: | Changing mouse cursor theme does not apply in some contexts | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Lastique <andysem> |
| Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | CLOSED NOT A BUG | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 5.24.7 | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Running `kwin_x11 --replace` does not fix this, at least not completely. The old cursors are still displayed in most of the same contexts as before. The only two places that got fixed are the desktop (the wallpaper area) and the Plasma panel itself and spacer on the panel. Newly opened KDE/Qt apps still show old cursors. Note that kwin_x11 has no influence over the cursor theme that applications use. I suggest to file bug reports against individual apps/toolkits. In the bug description, I'm mentioning several KDE and Qt contexts where the new theme is not applied. At least those contexts are expected to work, and you can consider this bug report effective against whatever KDE components responsible for this. As a user, I have no idea what components those are. Feel free to create more specific bug reports, but as long as the problem is not solved, please keep this one open. You can also change the component of the bug to something else, if you think this is appropriate. KDE is very broad and it has no components to deal with cursor themes, that is being done by Qt.
> but as long as the problem is not solved, please keep this one open
kwin is an inappropriate project to file this bug report against, there is no point to keep it open here.
(In reply to Vlad Zahorodnii from comment #5) > KDE is very broad and it has no components to deal with cursor themes, that > is being done by Qt. In that case, why some KDE contexts do apply the new theme and others don't? It depends whether a cursor has been set explicitly for the window, whether the window falls back to using root window's cursor, etc. There are a lot of factors that play a role. |
SUMMARY After changing mouse cursor theme in System Settings, the new cursor theme does not apply in some contexts, meaning when the mouse cursor is over some parts of the desktop, the cursor appears as if old theme is in effect. This includes both the content that was on the screen before the theme was changed (meaning, for some content the change is applied and of other content it is not), and the content from applications that are launched after the change was made. STEPS TO REPRODUCE 1. Go to System Settings -> Appearance -> Cursors and change the current cursor theme. For example, from Breeze Light to Breeze. Press Apply. 2. Move the mouse to hover over different parts of the screen: - Desktop (the wallpaper). - Plasma panel containing task bar, icons, launcher, panel spacer and other widgets. - KDE and Qt-based applications, in particular their decoration and the window contents. For example, System Settings, Muon, KCalc, Yakuake, Konsole, QtCreator. - GTK-based applications. For example, Firefox, Meld, GIMP. - Wine-based applications, e.g. ImgBurn. - Steam (native Linux client). 3. Launch various applications (Qt and GTK-based) and hover the mouse over them. OBSERVED RESULT The new mouse cursor theme is applied for: - Most of the Plasma panel widgets, such as icons, task bar, launcher, clock, KRunner. - When the panel is in Edit Mode (Right Click on the panel, Enter Edit Mode) - over the panel or the widget that allows to drag or resize the panel. - When adding new widgets to the panel - over the window listing widgets. - After Right Clicking on the panel - over the panel and the context menu. - Window decorations, regardless of the application (KDE/Qt-based or GTK-based). - Yakuake window contents (the console). Yakuake was running prior to the theme change. - All GTK-based applications, regardless when they were launched. The cursor theme is not applied (old cursors are displayed): - Most KDE and Qt-based applications, except Yakuake. In my test, Konsole was launched after the theme change and was showing old cursors. Note that Konsole is unlike Yakuake, although both are showing console content and (I think) use the same base KDE component for it. - Plasma panel spacer and the panel itself - the short gaps between icons and the launcher are showing old mouse cursors. Note that this changes to new cursors if you Right Click on the panel, as described above. - Desktop (the wallpaper area). - Steam and Wine-based applications. Note that GTK apps are the most consistent - the new theme is applied for all apps that I tried. KDE is overall inconsistent. Some Plasma parts use the new cursor theme and others do not. EXPECTED RESULT New cursor theme should consistently apply in all contexts. SOFTWARE/OS VERSIONS Operating System: Kubuntu 22.04 KDE Plasma Version: 5.24.7 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 Kernel Version: 5.19.0-1024-lowlatency (64-bit) Graphics Platform: X11 Processors: 16 × 12th Gen Intel® Core™ i7-12700K Memory: 31.1 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2