question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Screen based panel width is inconvenient when using differen monitors

See original GitHub issue

Describe the bug

When using different monitors (e.g. laptop used alone and with external monitor) the panel width changes if the monitors don’t use the same resolution. Depending on resolution difference and settings this can make the panel unusable.

How To Reproduce

  1. Configure the panel width on a bigger/smaller external monitor.
  2. Unplug the external monitor thus Gnome switching the main screen.
  3. The panel is now to small or to wide

Versions

aveau.dev/schemas list-recursively org.gnome.shell.extensions.clipboard-history
GNOME Shell 41.4
GCH   Version: 9
org.gnome.shell.extensions.clipboard-history next-entry @as []
org.gnome.shell.extensions.clipboard-history disable-down-arrow true
org.gnome.shell.extensions.clipboard-history history-size 1000
org.gnome.shell.extensions.clipboard-history cache-size 100
org.gnome.shell.extensions.clipboard-history confirm-clear true
org.gnome.shell.extensions.clipboard-history strip-text true
org.gnome.shell.extensions.clipboard-history display-mode 0
org.gnome.shell.extensions.clipboard-history topbar-preview-size 10
org.gnome.shell.extensions.clipboard-history clear-history @as []
org.gnome.shell.extensions.clipboard-history private-mode false
org.gnome.shell.extensions.clipboard-history cache-only-favorites false
org.gnome.shell.extensions.clipboard-history process-primary-selection false
org.gnome.shell.extensions.clipboard-history paste-on-selection true
org.gnome.shell.extensions.clipboard-history notify-on-copy false
org.gnome.shell.extensions.clipboard-history toggle-menu ['<Super><Shift>V']
org.gnome.shell.extensions.clipboard-history move-item-first true
org.gnome.shell.extensions.clipboard-history window-width-percentage 20
org.gnome.shell.extensions.clipboard-history enable-keybindings true
org.gnome.shell.extensions.clipboard-history toggle-private-mode ['<Super><Shift>P']
org.gnome.shell.extensions.clipboard-history prev-entry @as []

Steps to repro

Panel with 10% width on external monitor (2560x1440 grafik

Panel after unplugging external monitor, now in internal one (full HD) grafik

Additional context

The issue seems only occur when unplugging the monitor and thus Gnome Shell auto-switching. If I change manually the main screen in Gnome settings the panel keeps somehow a sane width.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kleinphcommented, Mar 15, 2022

Turns out the API I was using returned a composite width of all the monitors stitched together (so waaaay too many pixels).

Ah this also explains why setting the primary screen didn’t triggered the issue.

Just released, should be fixed.

Works perfectly for me. Thanks for the quick fix!

0reactions
SUPERCILEXcommented, Mar 13, 2022

Just released, should be fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Negative Effects of Double Computer Monitors
Even smaller, flat-panel monitors take up a significant amount of desk space. Using two monitors at once reduces the amount of space users...
Read more >
Change Relative Size of Multiple Monitors - Super User
This leads to the situation, that application windows have a different size on monitor A than on monitor B. There is simply no...
Read more >
Advantages and Disadvantages of Working with Multiple ...
From the report, “Both the 24-inch widescreen and the 20-inch dual screens were significantly more productive than the 20 inch single monitor…
Read more >
The Benefits and Dangers of Using Dual Screens | DeltaNet
Using any display screen equipment (DSE) poses a risk to workers' health, including musculoskeletal problems, headaches, tired eyes and stress. Importantly, ...
Read more >
Dual Monitor vs Ultrawide Monitor - YouTube
The age-old question is should you use a Dual Monitor Desk Setup or an ... and disadvantages of dual monitors or ultra wide...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found