f710781b16
Prevent pending input event callbacks from erasing the window in the middle of a loop.
2025-02-18 15:26:13 +02:00
1376828ef6
Fix fr+oss layout issues with KP period
...
Co-authored-by: Riteo Siuga <riteo@posteo.net >
2025-02-08 17:17:11 -05:00
a3d03717c0
Fix Floating Window request close when a dialog is opened
2025-02-05 20:34:32 -05:00
f7d1558bc0
Fix Embedded Game disappear when not focused on KDE 5
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2025-02-05 12:01:40 +01:00
b4e16b4520
Merge pull request #102314 from Hilderin/fix-floating-window-overlapping
...
Fix Floating Window overlapping when on screen edge on KDE
2025-02-05 11:34:05 +01:00
ab0c712bf5
Merge pull request #102311 from Hilderin/fix-floating-window-not-visible-after-restore
...
Fix Floating Window not visible after restore on KDE
2025-02-05 11:34:01 +01:00
480843cf2b
Merge pull request #101812 from bruvzg/portal_chk
...
[FreeDesktop portal] Check for `FileChooser` and `Settings` interface availability instead of assuming it's always available.
2025-02-03 08:16:10 -06:00
140a63be25
Linux/BSD: Modify only keypad keys
...
The `keycode` field of `InputEventKey` is supposed to be "unshifted";
That is, what the key would output if no modifier keys were pressed.
This should match what's written on the key label, but `Key` enumerates
also all keypad keys, which require a modifier. We thus require some
extra checks for them.
Note that this can still allow "stuck keys", but that's an even deeper
problem.
2025-02-02 19:19:15 +01:00
bc0efb86a9
Fix Floating Window overlapping when on screen edge
2025-02-01 22:27:57 -05:00
150191353f
Fix Floating Window not visible after restore on KDE
2025-02-01 21:08:39 -05:00
86f56efbaa
[FreeDesktop portal] Check for FileChooser and Settings interface availability instead of assuming it's always available.
2025-01-31 07:52:40 +02:00
3c80c14092
Merge pull request #101924 from adamscott/game-editor-non-cached-mouse-mode
...
Delegate handling `mouse_mode` to the `DisplayServer`
2025-01-28 16:08:56 -06:00
47f553ae0b
Delegate to the DisplayServer the task of handling mouse_mode
...
- Add `MOUSE_MODE_MAX` and various index checks
2025-01-28 11:22:27 -05:00
725dd4930e
Fix BadWindow error when stopping embedded game on Linux
2025-01-25 20:30:40 -05:00
9eed43d429
Fix NOTIFICATION_WM_CLOSE_REQUEST in Embedded Floating Window
2025-01-21 21:03:15 -05:00
2e99d84e87
[DisplayServer] Add missing FEATURE_WINDOW_DRAG flag to Windows, X11 and Wayland display servers.
2025-01-14 15:26:32 +02:00
8d911b2554
[Window] Expose start_drag and start_resize methods (for both native and embedded windows).
2025-01-07 23:35:14 +02:00
7f0b4e58b0
Implement DisplayServer.window_start_resize.
2025-01-07 07:58:02 +02:00
cc32e46360
Merge pull request #101135 from Hilderin/fix-embedding-not-working-intermittently
...
Fix embedding failing intermittently
2025-01-06 22:49:05 +01:00
e06cac212b
Merge pull request #99893 from kiroxas/avoidUTF8ParsingWhenNotNecessary
...
Avoid duplicated `utf8()` calls
2025-01-06 22:47:12 +01:00
2f061df7b0
Fix embedding not working intermittently
2025-01-06 08:04:57 -05:00
e1f129cb52
Support MIME types in file dialog filters on macOS and Linux.
2025-01-04 22:05:35 +02:00
eaed664bce
Merge pull request #100637 from bruvzg/unset_fw
...
Unset last focused window when it is destroyed.
2024-12-20 23:57:13 +01:00
73faa509ea
Unset last focused window when it is destroyed.
2024-12-20 09:40:25 +02:00
06efe84bca
Remove duplicate utf8() calls
2024-12-19 10:15:46 +01:00
9d2a4c03be
Embedding game process in editor
2024-12-18 17:52:42 -05:00
293be04ec8
Implement window_start_drag on Windows and Linux.
2024-12-17 16:49:27 +02:00
4e19ab8afe
Fix connecting a signal with a double click is too difficult
...
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru >
2024-12-14 16:18:34 +03:00
84650f2018
Implement DisplayServer.beep.
2024-12-03 12:43:26 +02:00
0dfd18c84b
[DisplayServer] Add feature flag for native file dialog access to user/res and options
2024-10-30 14:13:43 +05:30
6d14cd6ff9
Fix fallbacks to OpenGL
2024-10-28 22:57:19 +07:00
07e759b74a
Merge pull request #97771 from dsnopek/openxr-linux-egl
...
OpenXR: Add support for Wayland on Linux
2024-10-25 13:04:08 -05:00
256699ee31
OpenXR: Add support for Wayland on Linux
2024-10-04 11:44:05 -05:00
d2f3725120
Fix window_set_current_screen for maximized windows.
2024-10-03 10:38:32 +03:00
36293a2dbf
Fix renaming nodes on X11
2024-09-25 09:05:51 -05:00
3b839347df
Added fallback_to_opengl3
2024-09-20 06:10:05 +08:00
b1871cdabf
Fix project manager stealing focus on i3
2024-09-16 16:55:57 -05:00
60aaa017ff
Enable Drag and Drop for SubViewports and Windows
...
Make Drag and Drop an application-wide operation.
This allows do drop on Controls in other Viewports/Windows.
In order to achieve this, `Viewport::_update_mouse_over` is adjusted to
remember the Control, that the mouse is over (possibly within nested
viewports). This Control is used as a basis for the Drop-operation, which
replaces the previous algorithm, which was only aware of the topmost
Viewport.
Also now all nodes in the SceneTree are notified about the Drag and Drop
operation, with the exception of SubViewports that are not children of
SubViewportContainers.
2024-09-15 01:06:02 +02:00
8eff04192b
Merge pull request #91780 from Riteo/falling-with-style
...
Improve UX when falling back between Display Servers
2024-09-04 11:16:08 +02:00
c273786758
Update rendering driver name on fallbacks. Fix rendering driver/method in the editor system info.
2024-09-01 18:22:40 +03:00
c01f9361b1
X11: Alert only when video drivers fail initialization
...
Before, they would always complain even if there was no attempt at
initializing them (e.g. because there's no X11 display).
While we're at it, this patch also adds a specific message for OpenGL ES
and rewords "OpenGLES" to "OpenGL ES" in an error, for consistency
(AFAIK we either say "GLES" or "OpenGL ES").
2024-08-21 06:31:19 +02:00
99b0100a06
[X11] Use motion event button state instead of async state.
2024-08-01 10:07:07 +03:00
24e02d56cb
Remove unneeded call in DisplayServerX11
...
X11 does not need setting exclusive flag (it is not implemented).
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com >
2024-07-25 17:11:15 +08:00
97aa278edb
Pass window exclusive and transient properties for subwindow creation
...
On Windows this allows to avoid having to change the owner of the window
after it has been created, which in rare circumstances may cause the
window to bug out.
2024-07-25 00:27:27 +08:00
3636d9dafc
Linux/X11: Fix memory leak from created screen images
...
Allocated XImages are improperly free'd with XFree.
The X11 documentation says that XImage should use
XDestroyImage to free both the image structure and
the data pointed to by the image structure.
Also fix a potential use-after-free bug.
2024-07-18 09:45:44 +02:00
25de53e147
X11: Fix creating RenderingDevice after #93706
...
The line was removed by mistake.
2024-06-29 14:03:29 +02:00
32d9c93af3
Improve handling of rendering startup errors
2024-06-28 19:31:50 +02:00
1289298b5e
Fix text editor stealing focus from "Find in Files" dialog on X11
2024-06-27 17:27:21 -05:00
3cabf51325
[X11] Detect XWayland and disable screen capture support.
2024-06-12 10:05:17 +03:00
b80e591448
Merge pull request #92843 from anniryynanen/tooltip-in-popup
...
Stop color picker tooltip from stealing input events
2024-06-10 16:11:52 +02:00