Closed jalcine closed 3 years ago
Not the app issue. It's a KWin issue, , report upstream, please.
It is an app issue; Tootle or the Flatpak provided by Tootle is enforcing a client side theme that doesn't exist on my machine.
How did you determine it being a KWin issue without even testing it?
The bug is occurring because of this extraneous patch: https://github.com/flathub/com.github.bleakgrey.tootle/blob/master/elementary-theme.patch
It doesn't provide any user value and when I remove it, the application works fine.
GTK+ just fallbacks to an existing theme when the requested theme is not found. Also, looking at the screenshot you posted, it looks like you have the theme. I wonder how you determined it was not tested, or the issue is caused by theming. Also, that patch does provide user value, just look at #4. The app is intended to be used with the elementary theme and designed according to that. If you want to read more on why one cannot simply change the theme and hope it works, there is a nice blog post on that: https://blogs.gnome.org/tbernard/2018/10/15/restyling-apps-at-scale/
As I mentioned before, the theme is embedded in the app itself. The app is having the theme, I'm pretty sure that KWin doesn't render either the client side decoration or has an issue with rendering the window's shadow.
Hi, I just asked about this at #kde on freenode wondering if I should open the issue to KWin and and they suggested me to:
Alt + F3 -> More actions -> Special Window Settings -> Appreance & Fixes
gnome-screenshot -i
Grab the current window
From here they said that it seems that Tootle is making a much bigger window than necessary and thus there is a little that KWin can make to do towards this, so I think this issue should be reopened.
How should I fix it here, please? Other than removing the elementary theme patch I don't see any possible ways to fix it, which will just make the application look unfinished with ugly widgets and missing icons.
Can you please open the Gtk inspector, select the main window and send a screenshot of the classes that are used? What If you switch the gtk theme to Adwaita on the Gtk Inspector, does it fix the issue?
@bilelmoussaoui Its probably a bug in the elementary theme (or custom css the app has) so I'd discuss it with them.
@TingPing A lot of elementary apps with the pached theme have somehow the same issue on KDE (not only KDE?) See this one for example: https://github.com/flathub/com.github.robertsanseries.ciano/issues/3
Can you please open the Gtk inspector, select the main window and send a screenshot of the classes that are used?
I fear I don't understand what you are asking, does this look correct?
What If you switch the gtk theme to Adwaita on the Gtk Inspector, does it fix the issue?
Yes, it does.
This is the first time I have ever opened GTK inspector, I had to Google what it is and how do I get it open. I found and followed the instructions from https://askubuntu.com/a/748152.
A lot of elementary apps with the pached theme have somehow the same issue on KDE (not only KDE?)
On GNOME the initial window has a massive border around it to.
Ok, it seems to be an elementary theme issue. They don't have a .solid-csd
defined on their stylesheet. Will open an issue upstream about that.
https://github.com/elementary/stylesheet/issues/468
Elementary guys have the same issue on their platform too with apps like PlayOnLinux. Will backport the patch to the elementary baseApp once it's fixed upstream.
Can someone try to reproduce this after today's update?
I'll try it.
Still getting a border.
Sorry, the latest build wasn't published yet. It should be there in few minutes
Last update on https://flathub.org/apps/details/com.github.bleakgrey.tootle looks like it was a year ago?
Because the release date from that page shows the "real" release date. I just bumped the runtime, GTK & icon themes.
:eyes: since Tootle is not using the elementary theme anymore, I think this can be closed, right?
Yeah.
Also, lol, I use elementary now so 🤷🏾
The patch made here ruins the experience of me using Tootle on KDE.![screenshot_20181212_095009](https://user-images.githubusercontent.com/452100/49905719-b17efc80-fe23-11e8-81d4-1a489d239cde.png)
Video: https://noctule.jacky.wtf/s/9PHoAzL3JorWCEx