Tabset is merged to the left on resize #2038
Comments
Also on Win7 Pro (64 bit), LT v 0.7.2 (binary v 0.11.1-pre). |
I was able to reproduce this just now with a recent source build (more recent than 0.8.0-alpha) on a Windows 7 computer. I was able to confirm, via Here are the relevant
The event for the
|
I am also currently affected by this. Exact issue. Only on my secondary monitor. |
@tvanden Only on your secondary monitor? That's surprising. What's the monitor/display configuration you're using? If the screen coordinates aren't even consistent between or among multiple monitors, I'm not sure how we can fix this. |
@kenny-evitt |
Hello, And as he mentioned it also happens only if I plug-in a secondary screen. If there is only one screen then the resizing happens without a problem. Also this behavior is new, as with the 0.7.x version that I had before this was never an issue. PS: I just re-tested the behaviour and found out that it only happens if Lighttable is on my primary screen (laptop), but if I put it on the secondary screen then it the resize happens correctly (no bug). Thus I guess that Lighttable is somehow taking the biggest screen size and deciding if it should close the tabset when there is a resize. Hope it helps |
Windows 7 Pro 64bit, LightTable v 0.8.0, single monitor. LightTable starts fullscreen mode (workspace tree open), opening 2 or more tabsets. After going to windowed-resized mode and by changing the size of the tabset the tabset-border jumps always to left or the tabsets are merged together. I don't get this behavior on both os's if the left edge of LightTable window snaps to desktop edge. |
Everyone, please download the (non-alpha) 0.8.0 release version and confirm whether you can reproduce this with that version. We upgraded the main framework LT uses – Electron – and the new version fixed other graphics issues. |
@kenny-evitt |
@tvanden Thanks for testing. |
I can also confirm that the bug is still present on the 0.8.0 version. |
What actually is the purpose of |
@geusebi My guess is that it's supposed to perform the final adjustment after you stop dragging the tabset. If it seems like removing it fixes this bug, create a PR and I'll test it out too. If it doesn't seem to break anything else, we can ask others to review the change as well. You're certainly not really any less of an expert about this code than I! |
Sorry, totally forgot to create the pull request. |
A tabset is merged on the left whenever I try to resize it horizontally, BUT it's happening only on non-primary displays.
Behaviour first seen on:
Light Table version 0.8.0-alpha
Binary version 0.31.1
Wasn't happening on:
Light Table version 0.7.2
Binary version 0.8.6
Three-headed display with primary display located on the left
OS: Linux 4.2.0-1-amd64 SMP Debian stretch 4.2.5-1 (2015-10-27) x86_64 GNU/Linux
Graphics card: GeForce GTX 750 Ti
NVIDIA Driver Version: 340.93
Example image
The text was updated successfully, but these errors were encountered: