lxqt / lxqt-qtplugin

LXQt Qt platform integration plugin
https://lxqt.github.io
GNU Lesser General Public License v2.1
24 stars 14 forks source link

Provide QPlatformTheme::{MouseCursorTheme,MouseCursorSize} on qt6 #78

Closed q234rty closed 2 months ago

q234rty commented 1 year ago

Qt 6.5 introduced QPlatformTheme::{MouseCursorTheme,MouseCursorSize} which are being used instead on XCURSOR_THEME and XCURSOR_SIZE on wayland. This breaks cursor size for me when using the lxqt qt6 plugin on the wip_qt6 branch, as otherwise qt falls back on QGenericUnixTheme which reads XCURSOR_THEME and XCURSOR_SIZE.

tsujan commented 1 year ago

Thanks for the info!

Will check it after LXQt 1.3.0 is released (soon) and, perhaps, after libdbusmenu-lxqt is ready (shouldn't take long either).

q234rty commented 1 year ago

If the plan is to have a qt6-based 1.3.0 then imo at least the previous behavior i.e. reading XCURSOR_SIZE and XCURSOR_THEME should be restored before 1.3.0. Otherwise it's fine to leave this after 1.3.0

tsujan commented 1 year ago

If the plan is to have a qt6-based 1.3.0

1.3.0 will be released in a few days (according to the schedule), based on Qt 5.15. We're waiting for a stable release of KF6 in order to port the whole LXQt to Qt6.

stefonarch commented 8 months ago

Noticed just now that increasing cursor size from 28 to 32 cursor will change back to 28 in qt6 apps like telegram, featherpad, LXimage-qt ecc.

tsujan commented 3 months ago

@q234rty Does https://github.com/lxqt/lxqt-qtplugin/pull/85 fix the problem for you?