PaperWM icon indicating copy to clipboard operation
PaperWM copied to clipboard

[Feature request] 100%+ window width?

Open samxu29 opened this issue 1 year ago • 1 comments

First of all, I want to say big thanks to anyone who is working on this project and I has been a loyal user for almost 3 years now. This is always my go-to WM on every gnome system.

Problem

Not really a problem. I use a laptop to VNC into my desktop a lot. My desktop uses an ultrawide display. Therefore the window always gets black bars on the top and bottom of the session.

Possible solution

Is possible to have 100%+ useful window width as a setting option? such as 150% so I can swap through the VNC session like I have a large display.

samxu29 avatar Aug 24 '23 15:08 samxu29

I expect this will be difficult to properly implement. Since it kind of conflicts with the way workspace work on multiple monitors. I.e. the scroll horizontally independent of each other. But if one window has width > 100% then the workspace on the other monitor would need to know about it.

One way this could work is if we just allow the current window (i.e. you VNC window at 150% width) to be shown on top of the workspace on the other monitor. And we would then probably need to tweak the focus follow mouse feature a bit. So the focus does not change while moving across monitor boundaries when you are still on the active window.

Using this feature could work like this:

  • have a keybinding to make the window larger (e.g. configure Super+R to resize to 150%)
  • this will cut off the parts of the window that don't fit on the current monitor
  • have a second (new) keybinding that raises that window on top of the other workspace, and keeps it that way until you hit it again, or navigate. This could also be a mode scoped to the workspace (similar to center window focus mode).

For what is currently possible: While this might not be an ideal solution, you could just put the VNC window on the scratch layer, and manually increase the size to 150%.

Lythenas avatar Oct 14 '23 13:10 Lythenas