Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • libadwaita libadwaita
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 166
    • Issues 166
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 27
    • Merge requests 27
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • libadwaitalibadwaita
  • Issues
  • #215

`adw_init` shouldn't forcibly change back the stylesheet to Adwaita if another is set that is not Default

Currently, calling adw_init to initialize Libadwaita always changes the used stylesheet to "Adwaita", even if the user has set it to another non-default, custom GTK4 stylesheet.

Shouldn't this maybe work more like it did in GTK3 instead? This won't cause a problem if Default/Adwaita is already used, and if it is different, have styling for the needed Libadwaita widgets, however don't change everything. And if the theme stylesheet has support for libadwaita widgets, like a few gtk3 stylesheets did, it looks good, however if it doesn't it just looks awful, and that should be the user's problem, however atleast the stylesheet isn't completely ignored.

This can be useful in situations where it is extremely expected that changing the stylesheet actually affects the application (or like for immediately seeing if it works), and so it wouldn't be weird that standard GTK4 apps follow the stylesheet, but apps that use Libadwaita (which is growing very quickly), don't follow it for seemingly no reason. Also, many people will probably not understand why their custom stylesheets seemingly "stopped working" in 41, and will still try to change it.

Also, I am aware of the existence of https://stopthemingmy.app

Edited Jun 24, 2021 by Raidro Manchester
Assignee
Assign to
Time tracking