Created attachment 161546 [details] Tiny cursor and no title bar icons on Firefox when using scaling on Wayland SUMMARY There are no title bar buttons and a tiny cursor on Firefox when using scaling in Plasma 6 on Wayland. It works fine on 5.27. STEPS TO REPRODUCE 1. Use scaling (I used 125% at 1080p) and re-login 2. Open Firefox OBSERVED RESULT The title bar has no close, minimize, and maximize buttons, and the cursor is very tiny. Check the screenshot. EXPECTED RESULT Normal icons and cursor with scaling, like 5.27 SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.240.0 Qt Version: 6.6.0 Kernel Version: 6.2.0-32-generic (64-bit) Graphics Platform: X11 Processors: 6 × Intel® Core™ i5-9400F CPU @ 2.90GHz Memory: 15.5 GiB of RAM Graphics Processor: AMD Radeon RX 570 Series
Looks like that's using the Adwaita GTK theme, because I can't reproduce the titlebar button issue when using Firefox in CSD mode with the Breeze GTK theme. Can you try that? I can reproduce the cursor size issue, but that's something else; can you submit a new bug report for it? Thanks!
(In reply to Nate Graham from comment #1) > Looks like that's using the Adwaita GTK theme, because I can't reproduce the > titlebar button issue when using Firefox in CSD mode with the Breeze GTK > theme. Can you try that? At least on Neon the Breeze GTK theme is not working on Plasma 6, even when it's selected in System Settings on the GTK config page. Is there a way I can force the Breeze theme on Firefox? > I can reproduce the cursor size issue, but that's something else; can you > submit a new bug report for it? Thanks! Here: https://bugs.kde.org/show_bug.cgi?id=474430
What about if you switch to another theme and then back to breeze-gtk?
(In reply to Nate Graham from comment #3) > What about if you switch to another theme and then back to breeze-gtk? Ok. So, I booted into a Live Image. By default, there's no GTK theme set (the combo box in the KCM is blank). If I set it, Breeze works on Firefox on X11 but not on Wayland. On X11 and Wayland, Breeze works for other GTK applications, so this is a problem specific to Firefox on Wayland. If I go to Firefox settings and manually switch from the automatic theme to the white or black theme, it seems to use Breeze icons, and the X button appears, however, maximize and minimize are still invisible. I'll send a screenshot.
Created attachment 161585 [details] No maximize and minimize buttons With the theme manually set to Light, only the X button shows up on Wayland.
Ok. I now noticed I can reproduce this without scaling, so it's not the scaling that's causing it.
Hmm, that's still not using the Breeze GTK theme though. Now sure how to proceed here.
I've just installed the latest Neon Unstable (20230920) and it's "broken" out of the box. I can't see the titlebar icons on Wayland. Single 1080p monitor, no theme changes. The "X" button to close Firefox is not visible, but it blinks hovering the mouse on it and it's working. I've also tried changing Global Theme, Application Syle, Plasma Style, Window Decorations and Icons from the settings, but nothing changed
Can reproduce out of the box on the neon unstable version as of today. Without any modifications, there are no titlebar buttons. The X(close) button is invisible but works.
Thanks. Can you also reproduce this issue in other CSD apps that are not using Libadwaita? For example Telegram and Gedit (not GNOME Text). Or is it only Firefox?
Created attachment 163203 [details] gedit works (In reply to Nate Graham from comment #10) > Thanks. Can you also reproduce this issue in other CSD apps that are not > using Libadwaita? For example Telegram and Gedit (not GNOME Text). Or is it > only Firefox? Cannot reproduce on telegram and gedit. See attachments Also I forgot to mention that all these tests have been happening on wayland (not sure why there is a X11 in the title) Tested all three default themes, with same result (breeze, breeze-dark, breeze-twilight)
Created attachment 163204 [details] telegram works
Created attachment 163205 [details] firefox does not work
(In reply to fanzhuyifan from comment #11) > Created attachment 163203 [details] > gedit works > > (In reply to Nate Graham from comment #10) > > Thanks. Can you also reproduce this issue in other CSD apps that are not > > using Libadwaita? For example Telegram and Gedit (not GNOME Text). Or is it > > only Firefox? > > Cannot reproduce on telegram and gedit. See attachments > Also I forgot to mention that all these tests have been happening on wayland > (not sure why there is a X11 in the title) > Tested all three default themes, with same result (breeze, breeze-dark, > breeze-twilight) Oh yeah you're right. This affects Wayland, not X. I think I pasted the wrong "about system" info in the OP and that must have caused the confusion. I'll update the title.
fyi after a few restarts right now my firefox titlebar buttons are back. I did not update the system. I might have tweaked a few settings, but I don't recall changing anything that seemed super relevant to this.
Actually it might have been an automatic system update that I was not aware of. Anyways right now I can not reproduce it after many restarts (previously it was consistently reproducible 100%). @guimarcalsilva, do you still have this issue after applying the latest updates?
(In reply to fanzhuyifan from comment #16) > Actually it might have been an automatic system update that I was not aware > of. Anyways right now I can not reproduce it after many restarts (previously > it was consistently reproducible 100%). @guimarcalsilva, do you still have > this issue after applying the latest updates? Unfortunately, I can still reproduce it on Neon even after updating it. Did the buttons that appear look like the Breeze Theme? Here my Firefox seems to be using GNOME's Adwaita theme.
Created attachment 163221 [details] firefox title buttons showing again (In reply to guimarcalsilva from comment #17) > Unfortunately, I can still reproduce it on Neon even after updating it. Did > the buttons that appear look like the Breeze Theme? Here my Firefox seems to > be using GNOME's Adwaita theme. Seems to be the breeze theme (see attachment)
I've been using firefox with csd for a long time and haven't seen this bug. Do you run ff in native wayland mode or x11? To find out, open `about:support` and look for "Window protocol" field.
there are still csd buttons even when using xwayland
Should this be considered a duplicate of https://bugs.kde.org/show_bug.cgi?id=471853 ?
Yep, good catch. *** This bug has been marked as a duplicate of bug 471853 ***