1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:57:35 +00:00
serenity/Libraries/LibGUI
Alex Muscar 4c9bb266df
LibGUI: Don't update windows that aren't visible (#1410)
Because the ID of a hidden window is 0, the window server will
fail to update them when the system theme is changed. This
manifests when an application has multiple windows, some of
which are hidden, and the system theme is changed (see
https://github.com/SerenityOS/serenity/issues/1378).

This PR changes the window code to ignore update messages if
the window has the ID 0--is hidden.

Ideally the window ID would not change, and visibility would be
managed separately.
2020-03-11 21:28:19 +01:00
..
AboutDialog.cpp LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
AboutDialog.h LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
AbstractButton.cpp LibGUI: Implement set_property() on Widget and AbstractButton 2020-03-05 15:50:22 +01:00
AbstractButton.h LibGUI: Move Icon and FontDatabase into the GUI namespace 2020-03-07 01:33:53 +01:00
AbstractTableView.cpp LibGUI: Mouse events didn't hit table headers when vertically scrolled 2020-02-25 23:06:40 +01:00
AbstractTableView.h LibGUI: Make descendants of AbstractView define their own select_all() (#1201) 2020-02-25 16:03:15 +01:00
AbstractView.cpp LibGUI: Make descendants of AbstractView define their own select_all() (#1201) 2020-02-25 16:03:15 +01:00
AbstractView.h LibGUI: Make descendants of AbstractView define their own select_all() (#1201) 2020-02-25 16:03:15 +01:00
Action.cpp LibGfx: Add forward declaration header 2020-02-14 23:31:18 +01:00
Action.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
ActionGroup.cpp LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
ActionGroup.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
Application.cpp LibCore: Remove all remaining C prefix references 2020-03-07 01:33:53 +01:00
Application.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
BoxLayout.cpp LibGUI: Make Layout a Core::Object and add basic serialization 2020-03-05 09:22:43 +01:00
BoxLayout.h LibGUI: Make Layout a Core::Object and add basic serialization 2020-03-05 09:22:43 +01:00
Button.cpp LibGUI: Remove Button& parameter from Button::on_click hook 2020-03-03 17:02:38 +01:00
Button.h LibGUI: Remove Button& parameter from Button::on_click hook 2020-03-03 17:02:38 +01:00
CheckBox.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
CheckBox.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
Clipboard.cpp Kernel+LibC: Rename shared buffer syscalls to use a prefix 2020-02-28 12:55:58 +01:00
Clipboard.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
ColorPicker.cpp LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
ColorPicker.h LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
ColumnsView.cpp LibGUI: Fix ColumnsView.cpp build 2020-02-25 16:05:00 +01:00
ColumnsView.h LibGUI: Make descendants of AbstractView define their own select_all() (#1201) 2020-02-25 16:03:15 +01:00
ComboBox.cpp LibGUI: Use GUI::Window::set_main_widget<WidgetType>() in clients 2020-03-04 14:26:16 +01:00
ComboBox.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
Command.cpp LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
Command.h LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
CppLexer.cpp LibGUI: Highlight various number literals 2020-03-11 21:26:47 +01:00
CppLexer.h LibGUI: Highlight various number literals 2020-03-11 21:26:47 +01:00
CppSyntaxHighlighter.cpp LibGUI: Highlight various number literals 2020-03-11 21:26:47 +01:00
CppSyntaxHighlighter.h LibGUI+HackStudio: Move syntax highlighting from HackStudio to LibGUI 2020-02-07 20:07:15 +01:00
Desktop.cpp LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
Desktop.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
Dialog.cpp LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
Dialog.h LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
DragOperation.cpp Kernel+LibC: Rename shared buffer syscalls to use a prefix 2020-02-28 12:55:58 +01:00
DragOperation.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
Event.cpp LibGUI: Add missing Event.cpp file 2020-02-14 17:35:04 +01:00
Event.h LibCore: Replace manual forward declarations with <LibCore/Forward.h> 2020-02-15 00:13:44 +01:00
FilePicker.cpp Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
FilePicker.h LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
FileSystemModel.cpp LibGUI: Move Icon and FontDatabase into the GUI namespace 2020-03-07 01:33:53 +01:00
FileSystemModel.h LibGUI: Move Icon and FontDatabase into the GUI namespace 2020-03-07 01:33:53 +01:00
FontDatabase.cpp LibGUI: Skip non-font files in the FontDatabase constructor 2020-03-11 21:27:03 +01:00
FontDatabase.h LibGUI: Move Icon and FontDatabase into the GUI namespace 2020-03-07 01:33:53 +01:00
Forward.h LibGUI: Add a MultiView widget, based on FileManager's "DirectoryView" 2020-02-24 20:48:42 +01:00
Frame.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
Frame.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
GroupBox.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
GroupBox.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
Icon.cpp LibGUI: Move Icon and FontDatabase into the GUI namespace 2020-03-07 01:33:53 +01:00
Icon.h LibGUI: Move Icon and FontDatabase into the GUI namespace 2020-03-07 01:33:53 +01:00
InputBox.cpp LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
InputBox.h LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
ItemView.cpp LibGUI: Make descendants of AbstractView define their own select_all() (#1201) 2020-02-25 16:03:15 +01:00
ItemView.h LibGUI: Make descendants of AbstractView define their own select_all() (#1201) 2020-02-25 16:03:15 +01:00
JsonArrayModel.cpp AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
JsonArrayModel.h LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
Label.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
Label.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
Layout.cpp AK: Add global FlatPtr typedef. It's u32 or u64, based on sizeof(void*) 2020-03-08 13:06:51 +01:00
Layout.h LibGUI: Make Layout a Core::Object and add basic serialization 2020-03-05 09:22:43 +01:00
LazyWidget.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
LazyWidget.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ListView.cpp LibGUI: Make descendants of AbstractView define their own select_all() (#1201) 2020-02-25 16:03:15 +01:00
ListView.h LibGUI: Make descendants of AbstractView define their own select_all() (#1201) 2020-02-25 16:03:15 +01:00
Makefile LibGUI: Add a MultiView widget, based on FileManager's "DirectoryView" 2020-02-24 20:48:42 +01:00
Margins.h LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
Menu.cpp Kernel+LibC: Rename shared buffer syscalls to use a prefix 2020-02-28 12:55:58 +01:00
Menu.h AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
MenuBar.cpp LibGUI: Reduce menu-related header dependencies 2020-02-15 01:56:30 +01:00
MenuBar.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
MenuItem.cpp LibGUI: Reduce menu-related header dependencies 2020-02-15 01:56:30 +01:00
MenuItem.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
MessageBox.cpp LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
MessageBox.h LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
Model.cpp LibGUI: Add GUI::Model::accepts_drag(index, data_type) 2020-02-13 21:45:46 +01:00
Model.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
ModelEditingDelegate.h LibGUI: Make the ModelEditingDelegate constructor protected 2020-03-05 15:50:22 +01:00
ModelIndex.cpp LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
ModelIndex.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
ModelSelection.cpp LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
ModelSelection.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
MultiView.cpp LibGUI: Disable the ColumnsView subview in MultiView for now 2020-02-27 14:43:35 +01:00
MultiView.h LibGUI: Disable the ColumnsView subview in MultiView for now 2020-02-27 14:43:35 +01:00
Notification.cpp NotificationServer: Add a system service for desktop notifications 2020-02-16 21:58:17 +01:00
Notification.h NotificationServer: Add a system service for desktop notifications 2020-02-16 21:58:17 +01:00
Painter.cpp LibGfx: Add forward declaration header 2020-02-14 23:31:18 +01:00
Painter.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
ProgressBar.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ProgressBar.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
RadioButton.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
RadioButton.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ResizeCorner.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ResizeCorner.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ScrollableWidget.cpp LibGUI: Implement keyboard and mouse wheel events for SpinBox 2020-02-24 10:40:32 +01:00
ScrollableWidget.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ScrollBar.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ScrollBar.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
Shortcut.cpp AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
Shortcut.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
Slider.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
Slider.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
SortingProxyModel.cpp AK: Make quick_sort() a little more ergonomic 2020-03-03 16:02:58 +01:00
SortingProxyModel.h LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
SpinBox.cpp LibGUI: Remove Button& parameter from Button::on_click hook 2020-03-03 17:02:38 +01:00
SpinBox.h LibGUI: Implement keyboard and mouse wheel events for SpinBox 2020-02-24 10:40:32 +01:00
Splitter.cpp LibGUI: Make Layout a Core::Object and add basic serialization 2020-03-05 09:22:43 +01:00
Splitter.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
StackWidget.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
StackWidget.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
StatusBar.cpp LibCore: Make Core::Object::add<ChildType> return a ChildType& 2020-03-04 21:04:06 +01:00
StatusBar.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
SyntaxHighlighter.cpp AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
SyntaxHighlighter.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
TableView.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
TableView.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
TabWidget.cpp AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
TabWidget.h LibGUI: Add helper for constructing new TabWidget tabs 2020-02-23 12:27:53 +01:00
TextBox.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
TextBox.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
TextDocument.cpp LibGUI: Fix null-termination of TextDocumentLine 2020-03-08 10:31:48 +01:00
TextDocument.h AK: Remove unnecessary casts to size_t, after Vector changes 2020-03-01 12:58:22 +01:00
TextEditor.cpp LibGUI: Clear old syntax highlighting 2020-03-11 10:05:01 +01:00
TextEditor.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
TextPosition.h LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
TextRange.h LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
ToolBar.cpp LibGUI: Make Layout a Core::Object and add basic serialization 2020-03-05 09:22:43 +01:00
ToolBar.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
TreeView.cpp LibGUI: Fix broken TreeView rendering with more than two columns 2020-03-02 23:05:04 +01:00
TreeView.h LibGUI: Fix broken TreeView rendering with more than two columns 2020-03-02 23:05:04 +01:00
UndoStack.cpp AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
UndoStack.h AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
Variant.cpp LibGUI: Move Icon and FontDatabase into the GUI namespace 2020-03-07 01:33:53 +01:00
Variant.h LibGUI: Move Icon and FontDatabase into the GUI namespace 2020-03-07 01:33:53 +01:00
Widget.cpp LibGUI: Implement set_property() on Widget and AbstractButton 2020-03-05 15:50:22 +01:00
Widget.h LibGUI: Implement set_property() on Widget and AbstractButton 2020-03-05 15:50:22 +01:00
Window.cpp LibGUI: Don't update windows that aren't visible (#1410) 2020-03-11 21:28:19 +01:00
Window.h LibGUI: Forget some of Window's widgets eagerly on widget unparenting 2020-03-05 15:48:57 +01:00
WindowServerConnection.cpp Kernel+LibC: Rename shared buffer syscalls to use a prefix 2020-02-28 12:55:58 +01:00
WindowServerConnection.h LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
WindowType.h LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00