Skip to content

Unite display scaling issue #373

Closed
Closed

Description

@jvanmalder

Describe the bug
When changing the display scaling setting, the top bar window buttons don't scale along.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Gnome Settings, Displays
  2. Change Scale from 100% to 125% for example
  3. The top bar window buttons don't have the correct scaling and look out of place

Expected behavior
When changing the display scaling settings, I expect the top bar window buttons to scale along.

Screenshots

Changing from 125% to 100% display scaling causes the following:
unite-125-to-100

Changing from 100% to 125% display scaling causes the following:
unite-100-to-125

What it's supposed to look like:
unite-normal

Environment (please complete the following information):

  • OS: Manjaro 24.0.6
  • GNOME Shell version 46.3.1
  • Unite version 79

Logs
No relevant logs.

Additional context
Usually this isn't annoying, as the display scaling isn't changed a lot.
However, this becomes annoying when using a laptop that has an internal screen which uses different scaling than external monitors connected via a docking station.
Every time the laptop is docked / undocked, this issue pops up.
Currently a workaround can be used by simply disabling and re-enabling the Unite extension after the issue happens.

Activity

  1. ilya-m32 commented on Sep 1, 2024

    @ilya-m32
    Contributor

    Seems to be a duplicate of #106

    @jvanmalder,
    This is a bug in gnome shell St and there's no reaction from gnome team so far.

    I prepared a workaround proof-of-concept which I use myself: #356.
    I received no reaction/opinion from the plugin maintainer, so I'm keeping it in my forked repo. For me it works well, but no guarantees.

  2. jonian commented on Sep 1, 2024

    @jonian
    Member

    Hi @ilya-m32, apologies for not responding to your PR. I wasn't sure what to respond at the time and then forgot about it 😞.

    My main issue with #356 is that it replaces the existing theme. The gicon implementation should be optional and the default should remain the css theme, since it is more efficient.

    That way, if the issue is ever resolved by gnome, we can remove the gicon implementation.

  3. ilya-m32 commented on Sep 1, 2024

    @ilya-m32
    Contributor

    @jonian no worries and thanks for your reply: supporting a non-profit OSS project is understandably hard and I appreciate your work.

    I did this as a proof of concept. If you would in principle accept a backwards compatible and optional workaround with gicons, I can rework my PoC accordingly.

    I just wanted to make sure we were comfortable with this idea in principle before I would invest my time in it.

  4. jonian commented on Sep 1, 2024

    @jonian
    Member

    @ilya-m32, yes an optional workaround using gicon is fine by me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions