reuk
ca4bdb6b3a
Component: Avoid calling member functions on objects destroyed when exiting modal state
4 years ago
reuk
062e966138
NSViewComponentPeer: Fix zoom and fullscreen behaviour
4 years ago
reuk
ff62b1b39f
LinuxComponentPeer: Handle window constraints correctly on high resolution displays
4 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).
4 years ago
reuk
cb7d9ec1db
Windows: Take custom scale into account when scaling cursors
4 years ago
reuk
81fa777ff7
ObjC Helpers: Automatically derive appropriate signature for function
4 years ago
ed
b4bc2c8710
Tooltip: Show manually shown tips until a dismissal mouse event occurs
4 years ago
ed
ab1d18ed92
Whitespace
3 years ago
ed
9c5b76a5ac
Windows Accessibility: Ensure that UiaDisconnectProvider() is called with a valid provider pointer
4 years ago
ed
82bcad9d30
Windows Accessibility: Only send window open/close events for main application windows to fix COM ref-counting leak
4 years ago
reuk
ffee9b19de
MenuBarComponent: Avoid dereferencing dangling pointer when dismissing menus
4 years ago
reuk
e247e06fb7
FlexBox: Refactor and tidy implementation
4 years ago
reuk
0dad809264
FlexBox: Add tests, and fix layout bugs
4 years ago
ed
4d350ffcc3
Fix documentation typo
4 years ago
ed
d49d203974
Tooltip: Ignore dismissal mouse events when tooltip window is not showing
4 years ago
ed
1fe8fa467b
TextEditor: Fix floating-point -> integer bounds conversion of text selection bounds
4 years ago
ed
057b555f08
Tooltip: Track mouse clicks using global Desktop mouse listener callbacks to fix bug with Timer callbacks missing events
4 years ago
ed
903657b0b8
Tooltip: Prevent tip from being immediately dismissed when shown from TooltipWindow::displayTip()
4 years ago
ed
fdd9eb8eeb
X11: Correctly reset drag and drop state when drag has ended
4 years ago
ed
274ce967e4
AlertWindow: Prevent accessible label component from intercepting mouse clicks
4 years ago
ed
49db3ce12e
AlertWindow: Make accessible label component colours fully transparent to prevent it from drawing over custom L&Fs
4 years ago
reuk
49bbadbca9
NSViewComponentPeer: Fix naming of drawRectWithContext
4 years ago
reuk
4196b5e45b
macOS: Silence deprecation warnings on Monterey
4 years ago
ed
7098b13b44
X11: Make synchronous error handling opt-in due to graphics performance issues when XSynchronize is enabled for a display
4 years ago
ed
66f8af98e7
Windows Accessibility: Don't set UIA_NamePropertyId of ignored elements to prevent it from being read out by Narrator
4 years ago
ed
4727084838
PopupMenu: Store Options::targetComponent and ::parentComponent in WeakReferences to allow for deletion checks
4 years ago
reuk
eca02270ee
Component: Add Point<float> overloads for some common functions
4 years ago
reuk
cdbefa3b51
Windows: Ensure that new windows are brought to the front after creation
4 years ago
reuk
496e454e9c
XWindowSystem: Update frame extents as soon as they change
4 years ago
reuk
4ca923a34b
NSViewComponentPeer: Allow mouse events to reach unfocused windows
This change allows mouse events (including enter and exit events) to
reach unfocused views on macOS. This matches the behaviour of unfocused
windows on Linux and Windows, where components paint in their "hovered"
states even when the application window is in the background.
As a byproduct of using tracking areas on macOS, we can remove the fake
mouse move generator.
4 years ago
reuk
fe4515adb6
MouseCursor: Refactor platform-specific MouseCursor internals
This new factoring is a bit more typesafe, as it avoids casting
internals to void*.
It also allows cursors to scale appropriately on high resolution
displays on Windows.
4 years ago
reuk
5c50ee4f94
MouseCursor: Simplify implementation using shared_ptr instead of manual refcounting
4 years ago
reuk
4d572411e0
FlexBox: Update the default value of FlexItem::alignSelf to match CSS implementations
4 years ago
reuk
25c9841131
Windows: Tidy up cursor creation function
4 years ago
reuk
f85ede6b47
Component: Ensure that mouseEnter and mouseExit calls are balanced when entering/leaving modal state
4 years ago
reuk
b465f60851
HWNDComponentPeer: Dismiss temporary modal windows when a window loses focus
4 years ago
reuk
44ca96271d
NSViewComponentPeer: Give up keyboard focus and dismiss temporary modals when window loses key status
4 years ago
reuk
c2f661171a
PopupMenu: Avoid giving focus back to previous component on dismiss
This change is designed to fix issues with views stealing focus and
being brought to the front when popup menus are dismissed.
To test this behaviour:
- Open two instances "a" and "b" of a plugin editor containing a
ComboBox
- Click the ComboBox in editor "a", opening its PopupMenu
- Drag the titlebar of editor "b" to move it
- The PopupMenu should be dismissed, but editor "a" should *not* steal
keyboard focus or be brought to the front
4 years ago
ed
b70fbb9bca
TreeView: Fix drag-to-scroll viewport jump on mouse exit
4 years ago
reuk
acddcd550d
DropShadower: Detect when window is no longer being displayed on the current desktop and hide shadows
4 years ago
reuk
6ae1137d91
MinGW: Fix Windows build
4 years ago
reuk
7f0a305199
Slider: Ensure that current Value is always treated as a double
4 years ago
reuk
05c2261efe
LinuxComponentPeer: Use constrainer to limit native window size
4 years ago
reuk
cfda532c9f
iOS Windowing: Avoid crashing when displaying a message box from a background thread
4 years ago
ed
51355b03df
ChoicePropertyComponent: Ensure that ComboBox is always initialised with underlying Value object
4 years ago
ed
6218e2f92b
Fix bug in LabelKeyboardFocusTraverser causing editable labels to consume focus traversal events
4 years ago
ed
de375ab6d7
TreeView: Prevent dragging items from scrolling viewport on mobile and fix issue with dragged item component being deleted during drag operations
4 years ago
ed
1e0acdf83d
Accessibility: Update ComboBox label accessibility when editable state changed
4 years ago
ed
aabd65b0fd
Text: Fix some build issues when JUCE_STRING_UTF_TYPE != 8
4 years ago
reuk
cc2a563725
NSViewComponentPeer: Fix framesize bug introduced in f73f8ee849
4 years ago