Anyone else have this issue?

I use KDE, in X thhe buttons for windows are at the bottom. Wayland the are at the top?

If you are talking about the “close”, “minimize”, “maximize” and similar buttons, their location is determined via… :point_down:

Colors & Themes → Window Decorations → Configure Titlebar Buttons

They should normally always be in the title bar of the window, but in gtk applications they may actually be part of the toolbar when the client-side decorations built into the application itself are used.

If in your case the title bar buttons are at the bottom of the window, then there is something seriously amiss with your configuration. I would suggest rebooting to see whether the problem persists or whether it was just a one-time corruption of your video memory.

No, I mean the cancel, reset, save, etc buttons.

They are at the top of the window in Wayland? :astonished:

Can you post a screenshot?

Hmm, according to the package information on nvidia-settings — which is what the screenshot is from, right? — that’s a gtk application.

I would still advise you to reboot. If the problem persists after the reboot, try it again with a freshly created user account and see if the problem exists there as well. If not, then it’s in the configuration of your main account somewhere.

:thinking:

1 Like

Nope, that is Gimp. Here is a shot from X.

I thought Nvidia setting didn’t work in Wayland. The buttons are brighter in X also.

Well, that’s another matter, possibly related to color profiles and/or Plasma settings.

Have you tried rebooting yet?

Yes, that is just Wayland, I didn’t change any graphics setting & the Nvidia setting doesn’t work in Wayland. Nvidia only has a X settings app.

I think that is just the way GIMP does it (at least for now). You can read more in these discussions:

https://lwn.net/Articles/1000198/

1 Like

Yes, gimp is Wayland-aware now, but I have not actually used it for anything other than image resizing since the switch to gimp 3.0, so I hadn’t come across that issue with the buttons yet. :man_shrugging:

It’s not a big deal, I had not actually noticed. GIMP is a GTK app, so the fact that they are now using GTK3 instead of GTK2, means things change in line with the GTK3 changes from GTK2.

3 Likes

Oh, still kind of odd though. When I am using KDE in both X & Wayland.

This is mine:

https://i.imgur.com/MYKSd9p.png

I’m guessing it’s because you don’t have xdg-desktop-portal-kde installed. Install it with:

pamac install xdg-desktop-portal-kde

Does this actually present a problem?

I have noticed a few dialog windows thrown up from applications have NO corner buttons for X, max, or minimising - but I know I can close them with Alt-F4 or Ctrl_Q, pull up the window menu with Alt-F3.

What’s the problem, beyond the visual?

Nothing, just odd.

It’s the client-side window decorations. gtk applications default to that under Wayland, even though you can generally tell them to use the window manager’s decorations, i.e. the ones installed for Plasma.

I have xdg-desktop-portal-kde installed but GIMP still uses gtk style for open image. Makes me wonder what else I need to change to get it to look like yours.

Ok, I don’t have gtk3-nocsd-git but I’m not going to bother with it since I rarely use GTK apps anyway.

I have it already, no need to download.

Hmmm, well this is the XDG-* packages I have installed:

$ pamac search --installed xdg
[...]
xdg-utils  1.2.1-1                                                                                                                                                                                                         extra
Command line tools that assist applications with a variety of desktop integration tasks
xdg-user-dirs  0.18-2                                                                                                                                                                                                      extra
Manage user directories like ~/Desktop and ~/Music
xdg-desktop-portal-kde  6.3.3-1                                                                                                                                                                                            extra
A backend implementation for xdg-desktop-portal using Qt/KF5
xdg-desktop-portal  1.20.0-1                                                                                                                                                                                               extra
Desktop integration portals for sandboxed apps
xdg-dbus-proxy  0.1.6-1                                                                                                                                                                                                    extra
Filtering proxy for D-Bus connections

Well, I do have gtk3-nocsd-git installed:

$ pamac search --installed nocsd
gtk3-nocsd-git  3.0.8+2.r84.20221015.a356bf7-2                                                                                                                                                                               AUR
A LD_PRELOAD library to disable gtk+ 3 client side decoration.

And I’ve got this environment variable set in /etc/profile.d/environment_variables.sh (self-created file):

export LD_PRELOAD=/usr/lib/libgtk3-nocsd.so.0
1 Like