Page MenuHomeSolus

Improving window titlebars setting on GNOME
Open, Needs TriagePublicBUG

Assigned To
Authored By
malfisya
Jul 9 2023, 12:34 AM
Referenced Files
Restricted File
Sat, Jul 22, 4:40 AM
Restricted File
Sat, Jul 22, 4:40 AM
Restricted File
Sat, Jul 22, 4:40 AM

Description

Summary

User should be able to change the placment and button of titlebar button on GNOME edition of Solus. Right now (at least on Fedora and Manjaro) this can be achieved simply by toggling buttons on Tweaks, but on Solus this only affect flatpak applications. For application installed through eopkg or software-center, this setting only can be changed via dconf-editor in /org/gnome/settings-daemon/plugins/xsettings/overrides. Is there any reason why that is the case?

Steps to reproduce

  1. Open Tweaks
  2. Navigate to Window Titlebars
  3. Toggle off "Maximize" and "Minimize"

Expected result

What you expected to happen: Tweaks titlebar button and any other application disappear

Actual result

What actually happened : Tweaks titlebar button and any other application visible

Environment

  • Is system up to date? y
  • Repo: Shannon
  • Desktop Environment Gnome

System details

Provide the output of About This System from the Application Menu

Other comments

Any other details that might help diagnose the issue

Revisions and Commits

Event Timeline

Can you provide a screenshot of what's happening and with the options you selected?

Sure, this is what i'm talking about
https://postimg.cc/HrfxH2ft
Fresh after install, I toggle off maximize and minimize button, also toggle "left" for placement as as shown in screenshot. Changing the setting on Tweaks it doesn't do anything. If i do it via dconf-editor, this happens.
https://postimg.cc/sQzgG2fQ
Recently, after using gnome-session-shell-experimentall and login to wayland session, all of that problem just solved. I can change titlebar button via Tweaks.
https://postimg.cc/FdxsyQ1P
Though it seems, the setting doesn't persist between sessions (X11 and Wayland). If i change the setting on wayland then logout and login to X11, the setting doesn't get adhered and sometimes causes crashes.

edit: change screenshot to hosted services

Unfortunately those screenshots are not showing.

The screenshots you attached. It looks like the files are restricted.

Moved screenshot to hosted services

It looks like Fedora is using the beta version of Tweaks 42. Solus is using the last stable, which is 40.10. I wonder if this is something that changed in the beta version.

This should resolve the issue, however it'll need some testing. If you're on unstable you can update and give it a try.

I'm on unstable. I tested it and it still doesn't do anything on X11 session. I don't know if this will help, but i notice in Manjaro this
/org/gnome/settings-daemon/plugins/xsettings/overrides doesn't have default value while Solus do.