godot/scene/gui
PouleyKetchoupp 54eaaf456f Fix popup menu item selected when opening the menu
In order to allow selecting items by either holding left click, or click
to open and click again to select, mouse button release was invalidated
based on the amount of mouse motion.

This was causing issues in some scenarios where an item could be
selected while opening the menu if the mouse moved enough between button
press and release.

This case could happen in the language selection of the project manager,
especially on linux, because of the order and timing of the mouse
events on x11.

This change invalidates mouse release based on a timing condition rather
than moved distance to handle any case from the display server properly.
2020-09-18 20:45:59 +02:00
..
base_button.cpp Merge pull request #41776 from EricEzaM/PR/tooltip-bugfixes 2020-09-15 10:24:17 +02:00
base_button.h Rename ShortCut to Shortcut which is more grammatically correct 2020-09-09 21:54:54 +02:00
box_container.cpp Merge pull request #40436 from DanielZTing/master 2020-07-24 13:47:18 +02:00
box_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
button.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
button.h Add override keywords. 2020-07-10 13:56:54 +01:00
center_container.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
center_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
check_box.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
check_box.h Add override keywords. 2020-07-10 13:56:54 +01:00
check_button.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
check_button.h Add override keywords. 2020-07-10 13:56:54 +01:00
code_edit.cpp Move safe line color into editor 2020-09-10 20:35:28 +01:00
code_edit.h Add folding gutter to code_edit 2020-09-10 20:35:28 +01:00
color_picker.cpp Fix ColorPickerButton to apply changes after picker popup closed 2020-09-09 21:38:29 +03:00
color_picker.h Add override keywords. 2020-07-10 13:56:54 +01:00
color_rect.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
color_rect.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
container.cpp Fix Container sorting not working when overriding _sort_children in gdscript 2020-05-16 18:13:25 +02:00
container.h Add override keywords. 2020-07-10 13:56:54 +01:00
control.cpp Fix content scale mode, closes #37941 2020-07-02 17:16:13 -03:00
control.h Add override keywords. 2020-07-10 13:56:54 +01:00
dialogs.cpp Fix cancel/OK button order on macOS 2020-07-10 15:10:11 -05:00
dialogs.h Fix cancel/OK button order on macOS 2020-07-10 15:10:11 -05:00
file_dialog.cpp Small naming and tooltip tweaks 2020-07-23 20:17:43 -03:00
file_dialog.h Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
gradient_edit.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
gradient_edit.h Add override keywords. 2020-07-10 13:56:54 +01:00
graph_edit.cpp Disconnect item_rect_changed when removing a child of GraphEdit 2020-09-11 17:37:20 -04:00
graph_edit.h Add override keywords. 2020-07-10 13:56:54 +01:00
graph_node.cpp Fixed separation of ports on GraphNode 2020-07-03 11:28:08 +02:00
graph_node.h Add override keywords. 2020-07-10 13:56:54 +01:00
grid_container.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
grid_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
item_list.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
item_list.h Add override keywords. 2020-07-10 13:56:54 +01:00
label.cpp Merge pull request #40649 from themvl/master 2020-09-05 12:38:26 +02:00
label.h Add override keywords. 2020-07-10 13:56:54 +01:00
line_edit.cpp Merge pull request #41870 from nekomatata/fix-line-edit-enter-regression 2020-09-08 11:14:33 +02:00
line_edit.h Merge pull request #39737 from Cevantime/add_force_caret_displayed_to_line_edit 2020-07-23 18:02:51 +02:00
link_button.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
link_button.h Add override keywords. 2020-07-10 13:56:54 +01:00
margin_container.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
margin_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
menu_button.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
menu_button.h Add override keywords. 2020-07-10 13:56:54 +01:00
nine_patch_rect.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
nine_patch_rect.h Add override keywords. 2020-07-10 13:56:54 +01:00
option_button.cpp Allow searching with keyboard input by default in PopupMenu 2020-05-17 23:28:24 +02:00
option_button.h Add override keywords. 2020-07-10 13:56:54 +01:00
panel_container.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
panel_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
panel.cpp Style: Enforce separation line between function definitions 2020-05-14 16:54:55 +02:00
panel.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
popup_menu.cpp Fix popup menu item selected when opening the menu 2020-09-18 20:45:59 +02:00
popup_menu.h Fix popup menu item selected when opening the menu 2020-09-18 20:45:59 +02:00
popup.cpp Merge pull request #41456 from nekomatata/x11-fix-popups 2020-09-03 00:09:19 +02:00
popup.h Fix popup closed when an ancestor window is focused 2020-08-22 18:42:42 +02:00
progress_bar.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
progress_bar.h Add override keywords. 2020-07-10 13:56:54 +01:00
range.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
range.h Add override keywords. 2020-07-10 13:56:54 +01:00
reference_rect.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
reference_rect.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
rich_text_effect.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
rich_text_effect.h [Complex Test Layouts] Change String to use UTF-32 encoding on all platforms. 2020-09-03 19:56:24 +03:00
rich_text_label.cpp Fix RichTextLabel alignment for clickable regions 2020-09-11 08:14:26 +02:00
rich_text_label.h Add override keywords. 2020-07-10 13:56:54 +01:00
scroll_bar.cpp GUI ScrollBar: possible fix for scrolling 2020-07-25 21:54:56 +02:00
scroll_bar.h Add override keywords. 2020-07-10 13:56:54 +01:00
scroll_container.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
scroll_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
separator.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
separator.h Add override keywords. 2020-07-10 13:56:54 +01:00
shortcut.cpp Rename ShortCut to Shortcut which is more grammatically correct 2020-09-09 21:54:54 +02:00
shortcut.h Rename ShortCut to Shortcut which is more grammatically correct 2020-09-09 21:54:54 +02:00
slider.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
slider.h Add override keywords. 2020-07-10 13:56:54 +01:00
spin_box.cpp Merge pull request #38223 from EricEzaM/spinbox-update-lineedit-after-bad-input 2020-08-14 12:16:32 +02:00
spin_box.h Add override keywords. 2020-07-10 13:56:54 +01:00
split_container.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
split_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
subviewport_container.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
subviewport_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
tab_container.cpp Handle gone TabContainer popup nicely 2020-06-24 19:34:32 +02:00
tab_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
tabs.cpp Add 'get_previous_tab()' to 'Tabs' 2020-09-08 17:35:49 -03:00
tabs.h Add 'get_previous_tab()' to 'Tabs' 2020-09-08 17:35:49 -03:00
text_edit.cpp Move safe line color into editor 2020-09-10 20:35:28 +01:00
text_edit.h Remove bit fields and use fixed width integers instead. 2020-09-11 11:02:00 +01:00
texture_button.cpp Added flip_h and flip_v properties in TextureButton 2020-07-01 11:31:27 +02:00
texture_button.h Add override keywords. 2020-07-10 13:56:54 +01:00
texture_progress.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
texture_progress.h Add override keywords. 2020-07-10 13:56:54 +01:00
texture_rect.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
texture_rect.h Add override keywords. 2020-07-10 13:56:54 +01:00
tree.cpp Check if old mouse column is still available. 2020-09-08 10:24:57 +01:00
tree.h Add override keywords. 2020-07-10 13:56:54 +01:00
video_player.cpp VideoPlayer: fix possible race condition 2020-06-29 13:01:54 +10:00
video_player.h Add override keywords. 2020-07-10 13:56:54 +01:00