reuk
82df66100c
MouseCursor: Allow arbitrarily-sized cursors on Windows
3 years ago
reuk
77c24ae49f
PopupMenu: Expose item ticked state to screen readers
3 years ago
reuk
3084a23547
PopupMenu: Improve accessibility of custom components in menus
The 'wrapper' accessibility handler is now ignored if a menu item has a
custom component, and has no submenu, and cannot be triggered
automatically. This avoids the case where a custom menu item may end up
with a wrapper accessibility handler that has no useful actions.
This patch also adds a 'label' argument to the addCustomItem functions,
which allows text for the screen reader to be supplied in the case where
a custom component is in use, but the menu item has accessibility
actions.
3 years ago
reuk
8a2bde9fec
NSViewComponentPeer: Only allow full screen mode for resizable windows with maximise buttons
Effects of this change for windows with native titlebars:
- Resizable windows without maximise buttons will now only allow the
'zoom' behaviour from the rightmost titlebar button (i.e. this button
will not allow entering full-screen mode)
- Non-resizable windows will grey-out the rightmost titlebar button,
whether or not the maximise button is enabled
3 years ago
reuk
05676c862a
UIViewComponentPeer: Allow setting an app style, to ensure the status bar can be seen over the app background
3 years ago
reuk
ad4368bbf1
UIViewComponentPeer: Clear focused peer on destruction to avoid dangling pointer
3 years ago
reuk
0cec50618d
FileChooser: Find an appropriate peer to focus when the FileChooser is destroyed
This works around a rare issue in the DialogsDemo where the AlertWindow
would fail to display because no peer had focus.
3 years ago
reuk
038d6dff32
FileChooser: Avoid calling member functions on pimpl after it is destroyed
3 years ago
Tom Poole
48a7274b08
PopupMenu: Update the example docs
3 years ago
reuk
cd34f1b00b
TreeView: Reset itemUnderMouse when deleting TreeViewItems to avoid dereferencing dangling pointers
3 years ago
attila
4f9a9c7bfc
Linux: Fix BadWindow error when XSETTINGS is not available
3 years ago
attila
2b3abd3ca6
MacOS: Fix TextEditor when using marked text (e.g. Korean)
3 years ago
attila
87061fb751
MacOS: Change keyCode calculation to fix shortcuts with non-Latin languages
3 years ago
attila
b8094cb200
Android: Fix keyCode calculation and add support for modifier keys
3 years ago
Tom Poole
8a6e1980d0
Bump version number to 6.1.4
3 years ago
Tom Poole
a5b76d3989
macOS: Fix window icon NSImage leak
3 years ago
Tom Poole
05796beffd
macOS: Fix CGImage memory access violation on Monterey
3 years ago
ed
1744008413
Windows: Don't send modal input attempts to windows that are explicitly ignoring them
3 years ago
ed
b421159be3
Accessibility: Use ignored AccessibilityHandler for slider text boxes to fix keyboard focus/accessible focus sync issue
3 years ago
ed
1de36db60a
Update property component constructors to allow temporary ValueTreePropertyWithDefault objects
3 years ago
reuk
44404508fe
Bump version number to 6.1.3
3 years ago
reuk
9f7409fd3e
FileChooser: Fix function signature for Obj-C interop
3 years ago
ed
112f8999fd
iOS: Fix native message box leak when no callback is provided
3 years ago
ed
fc0f6b1f2f
Tidy up
3 years ago
ed
1059f7b022
DropShadower: Check for deletion after calling isWindowOnCurrentVirtualDesktop()
3 years ago
reuk
03428561ed
ScaledImage: Use in a few more places
3 years ago
reuk
34fdea0708
DragAndDropContainer: Allow custom scaling
3 years ago
reuk
1509d6796b
FileChooser: Allow multiple selection on iOS
3 years ago
ed
bd01175d55
Docs: Update Component docs referencing deprecated setFocusContainer() method
3 years ago
ed
81df4560dd
Tooltip: Fix bug where tip would not be updated for new components
3 years ago
ed
27e75a7059
DropShadower: Fix crash due to IsWindowOnCurrentVirtualDesktop() causing synchronous repaint messages during component destruction on Windows
3 years ago
reuk
d0590b5fc5
ComponentPeer: Add facility for displaying document save state in the titlebar
3 years ago
reuk
cc8a9ca896
FileChooser: Avoid deprecated delegate method signature
3 years ago
reuk
da46ee6c7a
FileChooser: Launch chooser asynchronously
When FileChooser instances were created, launched, and hidden all inside
the same event callback on macOS 12.0.1, the chooser dialog sometimes
remained open. This could cause problems including crashes, as closing
the dialog would attempt to call a completion handler block referencing
an already-deleted FileChooser::Native instance.
Opening the chooser panel later on the message thread seems to resolve
the issue.
3 years ago
reuk
ca4bdb6b3a
Component: Avoid calling member functions on objects destroyed when exiting modal state
3 years ago
reuk
062e966138
NSViewComponentPeer: Fix zoom and fullscreen behaviour
3 years ago
reuk
ff62b1b39f
LinuxComponentPeer: Handle window constraints correctly on high resolution displays
3 years ago
reuk
c17aec47ac
Windows: Allow maximized windows to resize to fill the screen, even when a constrainer is applied
This mirrors the behaviour on Linux, where maximizing a window always
fills the screen, even if a constrainer is active.
If you don't want to allow your component to fill the screen, disable
the maximize button in the window's titlebar when creating the window
(i.e. ensure DocumentWindow::maximiseButton is not set in the required
buttons).
3 years ago
reuk
cb7d9ec1db
Windows: Take custom scale into account when scaling cursors
3 years ago
reuk
81fa777ff7
ObjC Helpers: Automatically derive appropriate signature for function
3 years ago
ed
b4bc2c8710
Tooltip: Show manually shown tips until a dismissal mouse event occurs
3 years ago
ed
ab1d18ed92
Whitespace
3 years ago
ed
9c5b76a5ac
Windows Accessibility: Ensure that UiaDisconnectProvider() is called with a valid provider pointer
3 years ago
ed
82bcad9d30
Windows Accessibility: Only send window open/close events for main application windows to fix COM ref-counting leak
3 years ago
reuk
ffee9b19de
MenuBarComponent: Avoid dereferencing dangling pointer when dismissing menus
3 years ago
reuk
e247e06fb7
FlexBox: Refactor and tidy implementation
3 years ago
reuk
0dad809264
FlexBox: Add tests, and fix layout bugs
3 years ago
ed
4d350ffcc3
Fix documentation typo
3 years ago
ed
d49d203974
Tooltip: Ignore dismissal mouse events when tooltip window is not showing
3 years ago
ed
1fe8fa467b
TextEditor: Fix floating-point -> integer bounds conversion of text selection bounds
3 years ago