-
Notifications
You must be signed in to change notification settings - Fork 65
nheko doesn't allow the window manager to resize it to custom widths and heights #187
Comments
Possibly? The width it should be resized too is bigger than the minimum width of the application though. For reference, the window would be 1920 / 2 = 960 pixels wide. I personally don't think this has anything to do with the minimum width and height. |
FWIW, nheko plays just fine in a tiling window manager. In general, X11 window managers can unilaterally clobber the geometry of a window; the window's requests are merely suggestions. Sounds like this is something weird about Xfwm. |
@Ralith I don't think it's that simple. I use KDE/KWin, and I can't make nheko's window smaller than a certain size. I don't have this problem with other apps. |
It is that simple. It's your WM's decision to respect a minimum size requested by the application. |
Hmm maybe that minimum size is imposed by the settings page. |
Preferably nheko acts like Telegram, resizing itself to a mobile layout of some sorts. As @alphapapa showed in his last screenshot, nheko still looks quite good when resized to be that small. |
@PureTryOut You're right, it mostly does. However, sometimes messages do not get wrapped, and instead they are truncated past the edge of the screen, which also pushes the newly right-aligned timestamps off the screen. This happens even without overriding the minimum size, though, so I think there's a minor bug. I haven't discovered a pattern yet, so I haven't reported it yet. |
System:
Actual behavior
Dragging a window to the left or right side of the screen (or using the "Tile window to the {left, right}" option of Xfwm), the window just moves and nothing resizes.
Expected behavior
The window to resize to half the size of the screen (by the window manager).
Steps to reproduce
Set a hotkey for the "Tile window to the {left, right}" option in Xfwm, use it when having nheko focussed. Notice it won't resize (or move).
The text was updated successfully, but these errors were encountered: