On Wed, 7 Jan 2026 00:19:52 GMT, Michael Strauß <[email protected]> wrote:
>> The `HeaderBar` control currently has three areas: `leading`, `center`, and >> `trailing`. Additionally, there's `leftSystemInset` and `rightSystemInset`, >> which are not RTL adjusted. I've come to the understanding that there is no >> particularly good reason for this, because every time you would want to use >> this information for layout purposes, it should also be adjusted for RTL. >> >> With this in mind, there are three changes for the `HeaderBar` control: >> 1. Rename `leading` to `left`, and `trailing` to `right`, which aligns the >> terminology with `BorderPane`. >> 2. Adjust `leftSystemInset` and `rightSystemInset` for RTL. >> 3. Make `leftSystemInset`, `rightSystemInset`, and `minSystemHeight` >> attached properties for `Stage`. >> >> With this change, the `HeaderBar` control is more semantically consistent >> and easier to use, and the renamed `left` and `right` areas now show its >> close relationship with `BorderPane`. >> >> In addition to that, two new `HeaderDragType` constants are added: >> * `TRANSPARENT`: when set on a node, excludes the node from draggable-area >> hit testing >> * `TRANSPARENT_SUBTREE`: the same, but also applies to the node's subtree > > Michael Strauß has updated the pull request incrementally with one additional > commit since the last revision: > > update copyright year to 2026 Found a weird issue on Windows that I cannot reproduce on macOS: https://github.com/user-attachments/assets/1917d54e-1ddc-434b-ad3e-1b88f9a08834 To reproduce using the monkey tester from this branch: https://github.com/andy-goryachev-oracle/MonkeyTest/tree/update.header.bar.api - split header bar - click and hold on the "Right" button - while holding the mouse button, move the mouse near the split pane divider Notice the divider unexpectedly moves. Once you release the button, it may not reproduce anymore, unless you move the window. (this might be addressed in a follow-up bug, I think) ------------- PR Comment: https://git.openjdk.org/jfx/pull/1936#issuecomment-3720278382
