-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
graphite-window-draw-and-artboard-offset
Specs
[x] Operating System: Debian GNU/Linux 13.0 (trixie)
[x] Desktop Environment: sway/WM
[x] Terminal Emulator: foot
[x] Shell: fish 4.0.2
[x] Graphite Version: Alpha 4 (Flatpak)
[x] Hardware: Framework 13" 7840U
[x] Resoultion: 2880 x 1920
Description
This was present RC-1 and it's probably more of a window manager thing
The window can draw kinda weird when opened fresh in a tiling window
and exascerbates when resizing.
Creating a new document and tabbing around the interface can force it to redraw
correctly.
You'll also notice that the canvas is a bit offset when opening said new
document from this state.
This can easily be replicated be using ctrl + O to open a file picker window
as well.
Basically anything that resizes the Graphite window will make this bug present.
Steps to reproduce
- Close all documents from any previous session
- On a fresh sway workspace, open any other program window in tiling mode
- Close and reopen Graphite
- Resize Graphite via swayWM's resize mode
- Observe the extra negative space in Graphite's UI
- Observe that the four initial options are not clickable:
- New Document
- Open Document
- Open Demo Artwork
- Support the Development Fund
- Use
ctrl + norctrl + ,to open a Graphite dialogue - Observe that the window redraws itself.
- Press
tabor click inside the dialogue box - Observe that the window now draws correctly.
- Once the window draws correctly, create a new document
- Observe that the artboard is not clearly visible and is offset on the
positive x and y axes.
Expected behavior
Graphite resizes appropriately without need for user intervention.
Screenshots
Window draw issue when resizing:
https://0x0.st/Po7y.mp4
Canvas offset (only seems to appear along with the resizing issue):
https://0x0.st/Po7w.mp4
Logs
N/A