Commit Graph

85091 Commits

Author SHA1 Message Date
Nikita Provotorov
c97c0ac584 JBR-5984: IM's candidate window is placed under popup windows.
- Implements the optional method [NSTextInputClient windowLevel] to tell the macOS IM subsystem correct level of the window;
- Adds a regression test ImWindowIsPlacedUnderPopup5984.java.

(cherry picked from commit 5a91aae9c2)
(cherry picked from commit 2f310561ba)
2025-08-23 11:49:12 +04:00
Vitaly Provodin
43619e00fb JBR-6130 add VK_TAB release action
(cherry picked from commit e16990eb93)
2025-08-23 11:49:11 +04:00
Alexey Ushakov
815fb82587 JBR-4983 MacOS Ventura - External monitor lagging
Added extra redraw request

(cherry picked from commit bd436709f5)
2025-08-23 11:49:11 +04:00
ghostflyby
6a3e4a8be9 JBR-6124 Fix macOS services writing text back to textfield
(cherry picked from commit 51bde60b42)
2025-08-23 11:49:11 +04:00
Sergey Shelomentsev
b712ce209d exclude FocusTraversalOrderTest
(cherry picked from commit f7004afdb1)
2025-08-23 11:49:10 +04:00
Sergey Shelomentsev
98d304f52f JBR-6060 add focus traversal order test
(cherry picked from commit 40dec50c3a)
2025-08-23 11:49:10 +04:00
Nikita Gubarkov
4ca85421cf JBR-6016 doPrivileged for JBR API internal services.
(cherry picked from commit 06290bfd1e)
2025-08-23 11:49:10 +04:00
Vitaly Provodin
0cf08d4141 JBR-6008 Update JetBrains Mono fonts to v2.304
(cherry picked from commit 676a270ac1)
2025-08-23 11:49:10 +04:00
Vitaly Provodin
037b7d0f51 Update README.md
(cherry picked from commit 0400cd7f9b)
2025-08-23 11:49:09 +04:00
Dmitry Batrak
64cb170af7 JBR-3353 Sibling popup window is shown below dialog on macOS
(cherry picked from commit 4c6f3e4510)
(cherry picked from commit 73678a99d5)
2025-08-23 11:49:09 +04:00
Dmitry Batrak
d69211879c JBR-5953 If hieroglyph typing isn't finalised, focusing another component inserts the composed text there
(cherry picked from commit 5dedf0e367)
2025-08-23 11:49:09 +04:00
Dmitry Batrak
b5893850e6 JBR-5946 Allow to disable painting of composed text in Swing text components using TextLayout.draw
(cherry picked from commit 3ac357417b)
2025-08-23 11:49:08 +04:00
Dmitry Batrak
ef0451513f JBR-5823 IDEA crashes when '-Dmain.thread.as.edt=true' vmoption is set and VoiceOver is enabled
done as part of JBR-4993 Support using 'main' thread as EDT on macOS

(cherry picked from commit 55598693c3)
(cherry picked from commit c7b9f1aa68)
2025-08-23 11:49:08 +04:00
ngubarkov
eb05d875cf JBR-5240 Fix XToolkit#getScreenInsets in Xinerama mode.
(cherry picked from commit 5df3fc666d)
2025-08-23 11:49:08 +04:00
ngubarkov
f39321395e JBR-5316 Fix fractional scaling HIDPI.
(cherry picked from commit acb62617d7)
2025-08-23 11:49:08 +04:00
Nikita Gubarkov
d0da3f9d0e JBR-5186 Make MouseInfo.getPointerInfo more robust
Do not search for the containing monitor in MouseInfo.getPointerInfo, this must be handled by peers (yes, this goes against the spec of MouseInfoPeer.fillPointWithCoords).

JBR-5268 Fix coordinates conversion in XMouseInfoPeer.fillPointWithCoords

(cherry picked from commit ae135f2126)
2025-08-23 11:49:07 +04:00
Nikita Gubarkov
ae334ad585 IDEA-141456 Multimonitor HIDPI support for Linux
(cherry picked from commit 980c18ae92)
2025-08-23 11:49:07 +04:00
Dmitrii Morskii
cfe42c37ab JBR-5724: fixed serialization and backward compatibility of Font
(cherry picked from commit e3da733724)
2025-08-23 11:49:06 +04:00
Dmitrii Morskii
c3e097bbb7 JBR-5259: fixed Canvas mispositioning after dragging JFrame to a monitor with different scale
(cherry picked from commit de62b80ef2)
2025-08-23 11:49:06 +04:00
Vitaly Provodin
2781d50772 Update README.md
(cherry picked from commit b438d74f39)
2025-08-23 11:49:06 +04:00
Maxim Kartashev
7dfa3813c1 JBR-5815 javax/swing/AbstractButton/6711682/bug6711682.java: Row #2 checkbox is not selected
Fixed the test to use proper cell coordinates when clicking.

(cherry picked from commit ed01142e8b)
2025-08-23 11:49:06 +04:00
Alexey Ushakov
fd26a92fe2 JBR-5807 java/awt/Frame/FrameVisible/FrameContentAppearanceTest.java: Failed: OpenGL 26 image rendering failure(s)
Added synchronisation for rendering and appearance

(cherry picked from commit d02635f65b)
2025-08-23 11:49:05 +04:00
bourgesl
069f92cf18 JBR-5625: disable color-matching (colorspace = nil) in MTLLayer by default (see new system property 'sun.java2d.metal.colorMatching=true/false') + added new MetalLayerColorTest
Use CGColorSpaceCopyName() available since macOS 10.6 in MTLLayer

Use sun.java2d.metal.colorMatching=true by default (current metal behaviour)

(cherry picked from commit ec5c99bfb6)
2025-08-23 11:49:05 +04:00
Nikita Provotorov
c818d10f58 JBR-5762 Sometimes naturally generated MOUSE_DRAGGED events don't contain the pressed button's modifier.
Enforce keeping the pressed button in the modifiers for MOUSE_DRAGGED events. This is under a (default enabled) system property "awt.mac.enforceMouseModifiersForMouseDragged".

(cherry picked from commit fb12990a98)
(cherry picked from commit 6a972e8ca7)
2025-08-23 11:49:05 +04:00
Dmitrii Morskii
1f55730cff JBR-5548 fix BadSerializationTest
(cherry picked from commit 90d867d08b)
2025-08-23 11:49:05 +04:00
Vitaly Provodin
4aa7eac2d3 Update README.md
(cherry picked from commit 8efb8ded38)
2025-08-23 11:49:04 +04:00
Sergey Shelomentsev
bda8e0bf15 JBR-5746 wait for menu visibility of fail the test
add mouse events logging

(cherry picked from commit 5a05bd2046)
2025-08-23 11:49:04 +04:00
Dmitry Batrak
1e76cfe54f JBR-5720 Wrong modifiers are reported for mouse middle and right buttons' release/clicked events
(cherry picked from commit afa0283f16)
2025-08-23 11:49:04 +04:00
Dmitry Batrak
66d1867ce3 JBR-5684 Focus state is broken after closing of modal dialog in an inactive application
(cherry picked from commit 2f2fe7a11c)
2025-08-23 11:49:03 +04:00
Vitaly Provodin
8248f52de8 update exclude list
(cherry picked from commit 36f380d4b4)
2025-08-23 11:49:03 +04:00
Vitaly Provodin
d667261e43 Update README.md
(cherry picked from commit b4071ba08d)
2025-08-23 11:49:03 +04:00
Alexey Ushakov
930eacc544 JBR-5151 Test failures caused by -Dsun.java2d.metal.displaySync=false
Removed display sync from window layer, provide layer content updates only when necessary

(cherry picked from commit 77cb9bcec0)
2025-08-23 11:49:03 +04:00
Dmitrii Morskii
305dfc0217 JBR-1775: improved logic for choosing newer font between system and bundled ones
(cherry picked from commit 41cbdf720c)
2025-08-23 11:49:02 +04:00
Sergey Shelomentsev
cd273312c5 JBR-2870 add resression test for JPopupMenu
- verify that the popup menu is usable if overlaps WM's dock panel of the bottom of screen

(cherry picked from commit 962eb42ed2)
2025-08-23 11:49:02 +04:00
Vitaly Provodin
1a7284eaa4 Update README.md
(cherry picked from commit 15fdca4193)
2025-08-23 11:49:02 +04:00
Alexey Ushakov
43dab4e9d4 JBR-5693 Debug build failure in main branch
Corrected printf format and muted unused-function option for keycode_cache.c

(cherry picked from commit 87a01c930d)
2025-08-23 11:49:02 +04:00
Alexey Ushakov
1436cebab9 JBR-5704 displaySyncOFF: javax/swing/JDialog/Transparency/TransparencyTest.java: JDialog transparency lost upon iconify/deiconify sequence
Corrected startRedraw method to call setNeedsDisplay in displaySync=false mode

(cherry picked from commit 0ddd7e8301)
2025-08-23 11:49:01 +04:00
Sergey Shelomentsev
9edc57c37f JBR-5670 restore initial display mode after test execution
restore original display mode

(cherry picked from commit d098ad1f77)
2025-08-23 11:49:01 +04:00
Sergey Shelomentsev
5812c50e17 JBR-4880 Fix DeadKeySystemAssertionDialog to avoid receiving key event out of the window
(cherry picked from commit 5467dea09b)
2025-08-23 11:49:01 +04:00
Vladislav Rassokhin
1032cbc013 JBR-5600 Reduce noise in signing scripts output
(cherry picked from commit bc145d39be)
2025-08-23 11:49:00 +04:00
Vladislav Rassokhin
2c3dde9bfe JBR-5600 Sign frameworks as whole, verify framework signature before full app sign
(cherry picked from commit 2fecc58be2)
2025-08-23 11:49:00 +04:00
Nikita Provotorov
d37dda6a19 JBR-5668: The implementation of a11y announcing for macOS crashes with -Xcheck:jni.
- Create a global reference of the passed to EDT accessible object (the local reference) to use it in the AppKit thread ;
- Enable -Xcheck:jni in the tests ;
- Make the tests handle the problematic case .

(cherry picked from commit cba981df4b)
(cherry picked from commit f3a038c849)
2025-08-23 11:49:00 +04:00
Vladislav Rassokhin
cb5bb0cda8 tools/mac/scripts: minor improvements
* don't move into itself
* use `PKG_NAME` variable instead of `${APP_NAME}.pkg`
* cleanup sign.sh
* add `SCRIPT_VERBOSE` env variable to control `set -x`

(cherry picked from commit 28514c3d00)
2025-08-23 11:49:00 +04:00
Vladislav Rassokhin
3ebbb8f197 JBR-5600 Staple .pkg with signature
(cherry picked from commit 6555023fd3)
2025-08-23 11:48:59 +04:00
Vladislav Rassokhin
406aa7a006 JBR-5600 Notarize macOS binaries using notarytool
(cherry picked from commit 7916ed31b7)
2025-08-23 11:48:59 +04:00
Vladislav Rassokhin
e494fd976a JBR-5600 Sign macOS binaries using jet-sign
(cherry picked from commit 95ef69df13)
2025-08-23 11:48:59 +04:00
Sergey Shelomentsev
212651b4e8 JBR-5579 Update mouse location checks, set window always on top for ActionListenerTest
(cherry picked from commit b867b1c395)
2025-08-23 11:48:58 +04:00
Sergey Shelomentsev
58d27670e6 JBR-5551 update hit tests on custom title bar
- set windows always on top
- verify mouse location before clicking

(cherry picked from commit 005de74127)
2025-08-23 11:48:58 +04:00
Sergey Shelomentsev
7c5e927055 JBR-5577 fix MouseEventsOnClientArea test
- add Swing/AWT specific Task runners
- split MouseEventsOnClientArea to separate AWT/Swing tests
- use CountDownLatch for tracking mouse events

(cherry picked from commit c6a43fe84f)
2025-08-23 11:48:58 +04:00
Sergey Shelomentsev
e745f7d99b remove jb/java/awt/Window/ZOrderOnModalDialogActivation.java
(cherry picked from commit 9b6037dee3)
2025-08-23 11:48:57 +04:00