Bug 481811

Summary: Cursor size only depend on scaling and seem to scale 2x the scaling factor in VirtualBox
Product: [Plasma] kwin Reporter: postix <postix>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nate
Priority: NOR Keywords: qt6
Version First Reported In: 5.93.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot

Description postix 2024-02-25 14:32:03 UTC
Created attachment 166090 [details]
Screenshot

SUMMARY

Independent of the cursor size settings, the cursor always has a fixed size:
* at 1.0 scaling it scales correct
* at 2.0 it seems to scale like 4x the size of the cursor with 1.0 scaling

Please see the screenshot.

SOFTWARE/OS VERSIONS
Operating System: Fedora-KDE-Live-x86_64-Rawhide-20240225.n.0.iso
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.0-rc5
Graphics Platform: Wayland
Graphics Processor: llvmpipe
VirtualBox 7.0 on openSUSE TW
Comment 1 postix 2024-02-25 14:32:51 UTC
Interestingly, when I take a screenshot with Spectacle in the virtual machine, the cursor scales fine. The screenshot above is obviously taken from the host system.
Comment 2 postix 2024-02-25 14:35:37 UTC
FWIW I see the following errors in journalctl:

kwin_wayland_wrapper[4444]: libEGL warning: pci id for fd 14: 80ee:beef, driver (null)
kwin_wayland_wrapper[4444]: libEGL warning: MESA-LOADER: failed to open vboxvideo: /usr/lib64/dri/vboxvideo_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)
kwin_wayland_wrapper[4444]: MESA: error: ZINK: failed to choose pdev
kwin_wayland_wrapper[4444]: libEGL warning: egl: failed to create dri2 screen

Not sure if this is relevant.
Comment 3 Vlad Zahorodnii 2024-02-26 09:13:53 UTC
This sounds like a bug in virtualbox
Comment 4 postix 2024-02-29 11:51:01 UTC
(In reply to Vlad Zahorodnii from comment #3)
> This sounds like a bug in virtualbox