GramEditor/gram
37
981
Fork
You've already forked gram
88

Modal popups do not go well with client-side decorations #351

Open
opened 2026年06月23日 14:15:12 +02:00 by sylfn · 0 comments

Modal popups, such as "Trash file? it has unsaved changes" prevent interactions with CSD. I can neither maximize the window nor move it by interacting with window alone (it is possible to hide/maximize the window with keybinds and move with mouse while holding Super key, but that's compositor-dependent).

Modal popups also darken the entire window, even the parts are outside the borders (and are only a parts because CSD needs to be drawn somewhere). These dialogs should be constrained to inner window area, so that client-side decorations can still be accessed without dismissing the dialog.

Gram with CSD with modal dialog, shown over a white background

(the screenshot shows a different popup for the next issue)

system information

Gram: v2.1.2 (Gram)
Memory: 60.7 GiB
Architecture: x86_64
GPU: AMD Radeon Graphics (RADV RENOIR) || radv || Mesa 26.1.2

Installed from nixpkgs on NixOS 26.11pre1011622.a799d3e3886d (Zokor). I use GNOME on Wayland (mutter 50.1, gnome-shell 50.1)

Modal popups, such as "Trash file? it has unsaved changes" prevent interactions with CSD. I can neither maximize the window nor move it by interacting with window alone (it is possible to hide/maximize the window with keybinds and move with mouse while holding Super key, but that's compositor-dependent). Modal popups also darken the entire window, even the parts are outside the borders (and are only a parts because CSD needs to be drawn somewhere). These dialogs should be constrained to inner window area, so that client-side decorations can still be accessed without dismissing the dialog. ![Gram with CSD with modal dialog, shown over a white background](/attachments/4fb79c46-119f-488e-b8ca-9934ff073bec) (the screenshot shows a different popup for the next issue) ## system information Gram: v2.1.2 (Gram) Memory: 60.7 GiB Architecture: x86_64 GPU: AMD Radeon Graphics (RADV RENOIR) || radv || Mesa 26.1.2 Installed from nixpkgs on NixOS 26.11pre1011622.a799d3e3886d (Zokor). I use GNOME on Wayland (mutter 50.1, gnome-shell 50.1) <!-- Wiki: https://codeberg.org/GramEditor/gram/wiki/Feature-Requests Docs: https://gram-editor.com/docs/ Chat: https://slidge.im/gram/#/guest?join=gram@rooms.slidge.im This issue tracker is mainly for tracking and dealing with bugs. - If you want to make a feature request or have an idea for improvements, please create a page on the Wiki instead of opening an issue. - If you have a question about how the software works or how to configure it, check the wiki guides or the documentation, or join the chatroom and ask there first. If the question turns out to be a missing feature, create a feature request. If it's a bug, come back and create an issue. If your issue really is a bug that you've found: - Is it caused by hardware, for example missing support for your particular graphics device? If so, you are probably the person best suited to solve the problem since you are the one able to reproduce it. Start by trying to work out as much about the cause of the issue yourself, and include as much detail as you can in the issue. See the guide to debugging crashes in the documentation for more information on retrieving logs or using a debugger with Gram. - Is it a packaging problem, like missing builds for Windows, missing packages for your architecture or support needed for a particular Linux distribution? Just like in the previous case, you are probably the one most able to fix the problem yourself. There is a mirror of the repository on Github only so that we can run Github Actions on platforms that we don't have runners for on Codeberg. Contributions to improve the workflows for both Forgejo and Github are welcome. For any other issues, try to investigate the problem before creating an issue. This is a code editor, you as a user of this editor is presumably a coder. Don't let your preconceived notions about what you are capable of limit you in familiarising yourself with your tools. Everyone benefits if you become able to resolve the issues you encounter yourself. Thank you <3 / one grumpy toad with limited time on this earth -->
Sign in to join this conversation.
main
main
test/wgpu-on-mac
test-ci/failing-test-mac
test/failing-test-mac
test/build-on-22-04
test/wgpu-present-mode-mailbox
v2.1
test/altgr-fix-again
test/2.0.0-rc1
test/linux-build
test/objc2
v1.2.1
3.0.1
3.0.0
2.2.0
2.1.2
2.1.1
2.1.0
2.0.0
1.2.1
1.2.0
1.1.0
1.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
GramEditor/gram#351
Reference in a new issue
GramEditor/gram
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?