GraphiteEditor / GraphiteEditor/Graphite

[Bug] Graphite Window Draw and Artboard Offset

Offen
#3,607 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
27.2k
Forks
1.3k
Ø Merge
20 Std. 5 Min.
Gemergte PRs (30 T.)
57

Beschreibung

# 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
1. Close all documents from any previous session
2. On a fresh sway workspace, open any other program window in tiling mode
3. Close and reopen Graphite
4. Resize Graphite via swayWM's resize mode
5. Observe the extra negative space in Graphite's UI
6. Observe that the four initial options are not clickable:
1. New Document
2. Open Document
3. Open Demo Artwork
4. Support the Development Fund
7. Use `ctrl + n` or `ctrl + ,` to open a Graphite dialogue
8. Observe that the window redraws itself.
9. Press `tab` or click inside the dialogue box
10. Observe that the window now draws correctly.
11. Once the window draws correctly, create a new document
12. 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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.