paperwm / PaperWM

Tiled scrollable window management for Gnome Shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make a window wider than the screen and scroll within a window

rui-miao opened this issue · comments

Hi, I am using one screen for development. Usually I have several split columns (e.g., chatgpt, code, jupyter) inside the vscode. With one screen, each column is typically very narrow when I have more than 3 columns.
With PaperWM, may I make a window wider than my screen and scroll in a window? I was trying to modify the isPlaceable() function but it doesn't help.

Incidentally this would also help with preserving window widths when rotating the display (e.g. with tablets and convertibles)

There are two "misbehaviors" that need to be addressed in order to implement this:

  • Mutter doesn't want windows wider than the screen itself
  • PaperWM wants to view the entire window at once, which would be impossible

The latter would be a rather easy fix, modifying constraints surrounding windows approaching full screen width. As for the former, I'm not sure if it can be fixed from within GJS.