linuxmint / linuxmint/cinnamon

Panel positioning on monitor incorrect, moves to wrong monitor.

Open
#12,800 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

Distribution

Mint 21.3

Package version

6.0.4

Graphics hardware in use

Radeon E6760

Frequency

Always

Bug description

Since a long time I had an issue with the Panels on Cinnamon. It looked random, but i finally figured out the pattern, hence actually researching this. I didn't find this existing yet and I think it is something specific to this station and the monitor count.
I run Linux Mint on a work laptop with an egpu. The egpu is to supply 6 monitor outputs and I use them all. For a long time I had the same setup in office and at home. Now at home I changed the setup to 2 larger monitors, which broke my over-time-workaround to use the same monitor position (as monitor1 lower left, monitor2 upper left etc).
a) I have to move and even one or more panels every time I move from office to home and vice versa (this is an issue that is likely related to the display count and the actual report in b), but not part of this report.
b) I have to move the panels to the desired monitors which isn't working as intended (which is what this report is about)

I noticed that the instruction on moving a panel to certain monitor will always move the panel the next monitor in count.
Move a panel to monitor 2 and it actually moves to Monitor 3. The same thing happens with the other panel(s), but this appears with a single panel as well. If I have multiple panels, on each move the panels all move to the next monitor in count.

This affects moving a single panel, creating a new panel. Removing a panel doesn't cause issues.

Steps to reproduce
  1. right-click the panel
  2. select "Move"
  3. select the desired monitor, say Display number 2
  4. observe that the panel did not move to the desired monitor, but elsewhere. It is now located at the next monitor, like Display number 3

Image
With the actual case as example, based on this screenshot of my screenlayout from cinnamon settings:
Single panel:
move a panel to Display 7, it ends up at 2.
Two panels:
If 2x panels are located at 3&5, moving a panel from 3 to 7, will result in panel positions at displays 6&2 (display 1 is the builtin laptop screen and disabled)

Expected behavior

The action of moving a panel to a certain display should move the panel to the same display and location, also not affecting other panels position.

Additional information

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the panel Move action with the reported multi-monitor layouts, including a disabled built-in display and both single- and multiple-panel setups. Trace how the selected display number is mapped to the target monitor and verify that moving one panel preserves the requested display and does not alter other panels.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, linux
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.