vertical-workspaces icon indicating copy to clipboard operation
vertical-workspaces copied to clipboard

[BUG] workspace thumbnail alignment inconsistancy against `dash-to-panel`

Open bartoszek opened this issue 1 year ago • 8 comments

Describe the bug The Workspace Thumbnail column switches sides depending on which monitor the Activities indicator is clicked when dash-to-panel extension is configured to show Activities indicator on each monitor.

Basic debug information

  • Did disabling all other extensions help? yes
  • Did you find a conflicting extension? dash-to-panel

To Reproduce Steps to reproduce the behaviour:

  • set Workspace Thumbnail to the inner/outer edge a dual-monitor setup.
  • set dash-to-panel to show Activities indicator on each monitor.
  • click Activities indicator on each monitor.

Expected behavior Workspace Thumbnail columns location being deterministic.

Screenshots Screencast from 2024-04-09 16-37-55.webm

System:

  • OS: [e.g. Arch]
  • Version of V-Shell extension: [e.g. 46]
  • Source of installation: [extension.gnome.org]
  • Other installed and enabled extensions: $gsettings get org.gnome.shell enabled-extensions
'[email protected]'
'[email protected]'
'[email protected]'
'[email protected]'
'TaskBar@zpydr'
'[email protected]'
'[email protected]'
'[email protected]'
'screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com'
'glassygnome@emiapwil'
'[email protected]'
'[email protected]'
'[email protected]'
'[email protected]'
'[email protected]'
'[email protected]'
'[email protected]'
'[email protected]'
'[email protected]'
'[email protected]'
'multi-monitors-add-on@spin83'
'activities-config@nls1729'
'arch-update@RaphaelRochet'
'[email protected]'
'[email protected]'
'[email protected]'
'[email protected]'
'emoji-copy@felipeftn'
'[email protected]'
'[email protected]'
'gTile@vibou'
'steal-my-focus-window@steal-my-focus-window'
'[email protected]'
'[email protected]'
'[email protected]'
'ShutdownTimer@deminder'
'[email protected]'
'[email protected]'
'[email protected]'
'[email protected]'
'wiggle@mechtifs'
'[email protected]'
'[email protected]'
'[email protected]'
'freon@UshakovVasilii_Github.yahoo.com'
'[email protected]'
'[email protected]'
'[email protected]'
'[email protected]'
'[email protected]'

bartoszek avatar Apr 09 '24 14:04 bartoszek

Have you tried Layout -> Secondary Monitors -> Shift Workspace Preview by Panel Height option?

Some notes regarding your extension list: I assume that the list contains extensions that you have already removed from the system, otherwise, I wouldn't believe that you only have issues with aligning workspace thumbnails. If you remove an extension without disabling it first, it will remain in the list of enabled extensions.

  • The Vertical Overview extension is obviously not compatible with V-Shell
  • You don't need the Steal My Focus extension, V-Shell provides the Window Attention Handler setting in the Notifications section on the Behavior tab
  • Instead of Miniview, try my WTMB (Window Thumbnails) extension

G-dH avatar Apr 09 '24 20:04 G-dH

  • Layout -> Secondary Monitors -> Shift Workspace Preview by Panel Height option has no effect on the issue.
  • Vertical Overview just a leftover I forgot to remove after gnome-shell update (it's been disabled for ages)
  • WTMB nice way of starting PiP with a shortcut, but it's missing drag resize and scroll to switch previews for me 👍🏽

bartoszek avatar Apr 11 '24 15:04 bartoszek

OK, I'll look into it. Regarding WTMB, you can configure the scroll wheel to switch between source windows in the Settings. Since it offers adjustable default scale and provides full-size preview on click and hover, resizing may not be as crucial. However, I'll probably add drag resizing in the future. Right now, I'm adding media controls support.

G-dH avatar Apr 11 '24 19:04 G-dH

  • Regarding Shift Workspace Preview by Panel Height options: it causes Workspace Thumbnail to jiggle up and down when hovering over the second screen window previews.

https://github.com/G-dH/vertical-workspaces/assets/1213348/6e91c708-bd52-4811-a393-cb421f5cb18a

bartoszek avatar Apr 12 '24 10:04 bartoszek

I wasn't able to reproduce your issue, the workspace thumbnails are stable on my system. The allocation code reads the panel height, so if this property changes for some reason, this issue may occur. Have you tried disabling all other extensions except for V-Shell and DtP?

Btw, you can use Ctrl+Shift+Space shortcut in the overview to open V-Shell Settings.

G-dH avatar Apr 12 '24 10:04 G-dH

I did some tests, and I found that DtP causes various allocation issues that I cannot compensate for. For me, DtP never worked well, especially with secondary monitors. I will refactor the secondary monitors overview allocation, but don't expect special compensations for the DtP mess.

G-dH avatar Apr 12 '24 15:04 G-dH

@bartoszek Please try the latest update from the main branch. The Shift Overview by Panel Height option should now work better for your configuration.

G-dH avatar Apr 12 '24 20:04 G-dH

@bartoszek Are you not interested anymore?

G-dH avatar Apr 18 '24 13:04 G-dH

Feel free to reopen or give feedback about the fix.

G-dH avatar May 13 '24 10:05 G-dH