linuxmint / linuxmint/cinnamon
When a window is pinned to the side of a screen, maximizing will sometimes maximize in the other screen.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.6k
- Forks
- 915
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 3
Description
- Cinnamon version:
Cinnamon 4.0.10 - Distribution: Arch Linux (64-bit)
- Graphics hardware: NVidia GeForce GTX 980 Ti
- Graphics driver: nvidia 418.56
I don't think syslog and .xsession-errors are needed here (I think it's a logic bug instead of an error), but I can attach them upon request.
Issue
I'm currently running a two-monitor setup.
When I pin a window to one side of a monitor [1] and click the "maximize" button, the window will sometimes maximize in the other monitor (the monitor that it's currently not half-maximized in).
I assume this might have something to do with the window not updating which monitor it's being displayed on when you click and drag to pin it, but I haven't dug into the code to confirm.
[1]: I'm not sure what the correct Cinnamon terminology is here, but I drag the window with my mouse all the way to the left or right of a monitor until it maximizes in half of the screen.
Steps to reproduce
- On a two-monitor setup (one monitor to the left, and one monitor to the right), open a new unmaximized window on the left monitor. (could be
gnome-terminal, for example) - Pin the window to the left side of the right monitor, so that it's half-maximized on the left side of that monitor.
- Click the maximize button. For me, this results in the window (sometimes?) being maximized on the left monitor.
Expected behaviour
The window should maximize on the right-side monitor.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue using the two-monitor setup and the listed steps, then trace the maximize-button and edge-pinning window-management entry points. Compare the monitor selected after pinning with the monitor used for maximization; done when the window consistently maximizes on the monitor where it is half-maximized.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100