Open fsh opened 6 years ago
I think it be better to be able to provide a blended and separated mode. It is interesting to display different windows on different monitors.
Btw, how to reproduce this problem, I tried it, it seems that there is no such an exception.
It manages to paint only once: it paints the board and also a HUGE black stone in the upper left on x=0 coordinate. See screenshot. But after this it doesn't repaint while spewing out the above exceptions (and window becomes white if I alt-tab to something else).
Gives same result for 1440x2560 or 1080x1920 resolution (screenshot is on 1440x2560 monitor, but looks the same on 1080x1920). Linux, xmonad window manager, 390.77 NVIDIA drivers. Doesn't seem to matter if I set AWT_TOOLKIT environment variable or not.
This is as I said on the next
branch, latest commit (e2c7991622dd47e6520ebf8c718b62fe9a5ba2a8
).
Of course I can work around it, either by making my window manager handle it specially to start in a smaller and wider window, or by manually popping it out and resizing it with the mouse each time, but it's kind of annoying.
I see, currently the lizzie supports only landscape mode, it needs adjust posisions of panels to support portrait mode. May be I'll do the work later.
Starting current next branch on a monitor in portrait mode (rotated 90 degrees) gives the following exception in a loop:
This is merely the latest symptom of a larger problem though, in that Lizzie has always been poor at dealing with resolutions that are taller than they are wide, e.g. for a programmer/work setup like this, which is similar to mine: http://www.computeraideddesignguide.com/wp-content/uploads/2017/01/stacked-monitors-portrait-mode-300x216.jpg
Using a tiling window manager (such as xmonad) which automatically manage your windows, you have to create a special rule / manually set up the Lizzie window every time you start it, which is kind of disruptive. And even then you get a pretty small display with lots of wasted space on the workspace.
For example some option (or automatic inference) to place variation tree, graph, and miniboard on top/bottom instead of on the sides (or an option to have them in separate windows like the "mylizzie" fork, which also works very well).