Bug 474632 - Wayland support completely borked: KDE GTK Configurator
Summary: Wayland support completely borked: KDE GTK Configurator
Status: CLOSED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_style (show other bugs)
Version: 5.27.8
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-17 19:50 UTC by gonanza
Modified: 2023-09-25 19:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gonanza 2023-09-17 19:50:05 UTC
SUMMARY
when trying to set a gtk-theme through kde-config-gtk-style relying also on KDE GTK Configurators daemon (to transform kde settings ti gtk) under wayland (through: GDK_BACKEND="wayland") the outcome is completely unexpected / unusable (fallback to adwaita).


STEPS TO REPRODUCE
1. export GDK_BACKEND="wayland" (.profile)
2. set gtk-theme through systemsettings
3. open gtk-app

OBSERVED RESULT
while with GDK_BACKEND="x11" everything works as expected, with GDK_BACKEND="wayland" the settings are not respected, while dconf do the right exporting. (does not respect kde-settings concering mouse-theme, fonts etc.)

EXPECTED RESULT
export kde-settings to gtk-apps also on wayland.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Debian trixie (testing)
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-09-19 18:10:27 UTC
Works as expected for me on Plasma 6 Wayland.

> export GDK_BACKEND="wayland"
You shouldn't need to do this. Can you explain why you're doing it?
Comment 2 gonanza 2023-09-20 16:22:10 UTC
> Works as expected for me on Plasma 6 Wayland.
then please trigger debian to roll out a rc of plasma 6, did you compile it yourself.   o_O
hope this as well as global menu-support for gtk-/electron-apps with GDK_BACKEND="wayland" will work soon with plasma 6 (no fallback to GDK_BACKEND="x11" in order to see any entries at all). and no, i dont use nvidia.

> > export GDK_BACKEND="wayland"
> You shouldn't need to do this. Can you explain why you're doing it?
because its the only way to get it to work 5.27.0-5.27.5, after that it stoped working (5.27.7, 5.27.8)
Comment 3 Nate Graham 2023-09-21 14:29:45 UTC
> because its the only way to get it to work 5.27.0-5.27.5, after that it stoped working (5.27.7, 5.27.8)
It sounds like you're working around a bug. We don't offer support for workarounds, sorry.

I'd recommend that you go back to doing things in the normal way, and report any issues you have with that. Don't look for a workaround and then report bugs caused by your workaround. :)
Comment 4 gonanza 2023-09-22 07:20:25 UTC
not completely sure what you are talking about; my impression would be that GDK_BACKEND defaults to wayland now, so what is the workaround here? 
if i dont export GDK_BACKEND="wayland" via .profile the situation since 5.27.5 is the same: you can change whatever you want in respect to gtk, everything just falls back to adwaita and other defaults (fonts, scaling etc.), while the entries are seemingly exported correctly, at least in .config/gtk*. could this be considered enough as bug report?

The only 'workaround' i am doing currently is to use GDK_BACKEND="x11" to have a working system incl. GTK-apps. o_O
Comment 5 Nate Graham 2023-09-25 19:17:12 UTC
I would recommend removing all of your workarounds, and submitting bug reports on the specific issues you're seeing that cause you to want to use those workarounds.