Commit Graph

18390 Commits

Author SHA1 Message Date
Alexey Ushakov
a010e54484 IDEA-166173 IntelliJ freezes when returning from sleep
Fixed deadlock by removing unnecessary getScreenResolution call

(cherry picked from commit cec93cf1fd)
2023-01-14 01:01:57 +01:00
Alexey Ushakov
0ed69f3e88 Added missing fontconfig defines
(cherry picked from commit 2ac273a456)
2023-01-14 01:01:57 +01:00
Alexey Ushakov
416dd5b14d JRE-43 Font.getFamily() does not work in headless mode
Removed unused code

(cherry picked from commit 5b523f049e)
2023-01-14 01:01:57 +01:00
Alexey Ushakov
d1ad4ca4d9 JRE-43 Font.getFamily() does not work in headless mode
Bundled Droid fonts to fallback in headless mode

(cherry picked from commit 5b523f049e)
2023-01-14 01:01:57 +01:00
Alexey Ushakov
07497b87b9 JRE-15 Greyscale text is too dark comparing with subpixel AA
Adjusted default value for greyscale text rendering in freetype

(cherry picked from commit f80497c4f0)
2023-01-14 01:01:57 +01:00
Alexey Ushakov
aaf0bb3474 IDEA-155347 On Ubuntu with High DPI tooltip font is too thick when the tooltip is fading in and out
Handled missing FC_RGBA_NONE value

(cherry picked from commit 44fcbdabf8)
2023-01-14 01:01:57 +01:00
Alexey Ushakov
232f9aa736 IDEA-149882 Issue with fonts in Ubuntu 12.04
Provided fallback to default font rendering settings if libfontconfig unable to
match font pattern

(cherry picked from commit d93a5f1598)
2023-01-14 01:01:57 +01:00
Alexey Ushakov
03e2974303 IDEA-151619 CLion EAP fails to start with missing symbol: FT_Library_setLcdFilter
Skip FT_Library_setLcdFilter call if the symbol is not there
Cache negative FT_Library_setLcdFilter symbol lookup result
Used RTLD_DEFAULT handler for process symbols lookup

(cherry picked from commit e6f0055704)
2023-01-14 01:01:57 +01:00
Alexey Ushakov
66bef1fb91 JRE-29 fontconfig lib crashes CLion on OSX
Disabled fontconfig usage on OSX

(cherry picked from commit 431e14429c)
2023-01-14 01:01:57 +01:00
Alexey Ushakov
eb8c5cc445 JRE-48 built-in jre renders fonts abnormally heavier (normal text looks bold) than the oracle jre
Disable FT_LOAD_TARGET_LIGHT for fonts with FC_AUTOHINT=false (this target implicitly enables  FC_AUTOHINT)
Reused setupLoadRenderFlags for all rendering cases

(cherry picked from commit f3f2667a4c)
2023-01-14 01:01:56 +01:00
Alexey Ushakov
469725e7f2 Added logging for freetypeScaler via env variable OPENJDK_LOG_FFS=yes
and for screen resolution in freetypeScaler

(cherry picked from commit 091d74a791)
2023-01-14 01:01:56 +01:00
Alexey Ushakov
e37c869e98 JRE-34 IDE Crashes During Startup
Added validation of dpi settings coming from xserver

(cherry picked from commit b1c49c3b27)
2023-01-14 01:01:56 +01:00
Anton Tarasov
12b7114403 JBR-2031 [mac] jcef deadlocks with a11y on start
(cherry picked from commit 4f44b37f08)
2023-01-14 01:01:56 +01:00
Alexey Ushakov
058088e52f JRE-1083 [JDK11] Test com/sun/java/accessibility/util/8051626/Bug8051626.java fails on macOS on JB JDK11b
Wrapped SelectorPerformer invocation into privileged action

(cherry picked from commit 48e7b547ae)
2023-01-14 01:01:56 +01:00
Anton Tarasov
ceaa259964 JBR-2019 provide getWindowHandle method for jcef
(cherry picked from commit 7ae706b629)
2023-01-14 01:01:56 +01:00
Anton Tarasov
85baebd9e6 Comment assertion (originally JRE-965)
The assert line crashes debug hotspot.

(cherry picked from commit a00074a86c)
2023-01-14 01:01:56 +01:00
Anton Tarasov
f8831571f5 JBR-1976 [jcef] need mouse-transparent window on Windows
(cherry picked from commit b60fac96b4)
2023-01-14 01:01:56 +01:00
Anton Tarasov
efae560fd0 JBR-1824 export NSWindow::setIgnoresMouseEvents to java internal API
(cherry picked from commit 4399dc382c)
2023-01-14 01:01:56 +01:00
Anton Tarasov
6709ea2c43 JBR-1802 com/sun/java/accessibility/util/8051626/Bug8051626.java: access denied ("java.lang.RuntimePermission" "getClassLoader")
(cherry picked from commit eae772aca9)
2023-01-14 01:01:56 +01:00
Anton Tarasov
52704d754b JBR-1795 Project opened from Welcome screen goes to backgound after loading
(cherry picked from commit 322526458a)
2023-01-14 01:01:56 +01:00
Anton Tarasov
670285128b JBR-1609 Jupyter Notebook eventually causes IDEA to become unresponsive on Mac OSX
(cherry picked from commit 8ae0be8eb6)
2023-01-14 01:01:56 +01:00
Anton Tarasov
5d537fc141 JBR-1786 Weird white border for IDE window
(cherry picked from commit 4b09614a0e)
2023-01-14 01:01:56 +01:00
Vyacheslav Moklev
c947f60fa1 JBR-1552 Invalid screen bounds in full screen mode
Check is window is not in undecorated state

(cherry picked from commit 5547701e2c)
2023-01-14 01:01:56 +01:00
Vyacheslav Moklev
0b525118d1 JBR-1509 Client area size is wrong in Borderless mode
Fix client area size

(cherry picked from commit 00d32e58dc)
2023-01-14 01:01:56 +01:00
Anton Tarasov
c76efabffc JBR-1770 [windows] frame does not open as maximized
(cherry picked from commit d9dfc3c6c5)
2023-01-14 01:01:56 +01:00
Anton Tarasov
97f41318b5 JBR-1693 difficult to input Japanese text with "Fast" Key Repeat
(cherry picked from commit 12de3e287e)
2023-01-14 01:01:55 +01:00
Anton Tarasov
e7bb16ac45 JBR-1669 IDE-managed HiDPI mode is broken
(cherry picked from commit 461b0b5cd4)
2023-01-14 01:01:55 +01:00
Anton Tarasov
110a286cfd JBR-1650 propagate custom decoration title bar height to native
(cherry picked from commit f6fc65d014)
2023-01-14 01:01:55 +01:00
Anton Tarasov
a41bcb69a7 JBR-1629 Maximized window cut at the right and bottom
(cherry picked from commit 9e768377db)
2023-01-14 01:01:55 +01:00
Anton Tarasov
5baa27bf48 JBR-1492 Not able to start Intellij Idea 2017.2.5 with modified vmoptions
(cherry picked from commit e7ca6db66b)
2023-01-14 01:01:55 +01:00
Anton Tarasov
5c002d5535 JBR-1427 pycharm jupyter preview stuck and no response when click on preview.
(cherry picked from commit 1746b04686)
2023-01-14 01:01:55 +01:00
Anton Tarasov
690f191890 IDEA-210154 Borderless UI: Top frame of IDEA window is blue
(cherry picked from commit 2dd4163bc4)
2023-01-14 01:01:55 +01:00
Anton Tarasov
6e4e229a6e JBR-1351 Borderless UI: Bold frame around IDEA window appears on non-HiDPI display
(cherry picked from commit 06d35de069)
2023-01-14 01:01:55 +01:00
Anton Tarasov
abf4e39e25 JBR-1313 wrong insets for non-resizable custom-decorated frame
(cherry picked from commit 9179718cb6)
2023-01-14 01:01:55 +01:00
Anton Tarasov
5cf094db9d JBR-1293 do not modify client bounds when custom-decorated frame is set undecorated
(cherry picked from commit cb188edaab)
2023-01-14 01:01:55 +01:00
Anton Tarasov
b78888d7ba JBR-1278 allow native border and shadow for custom decoration mode
(cherry picked from commit a879ad5739)
2023-01-14 01:01:55 +01:00
Anton Tarasov
aab869f9c4 JRE-1232 forwardport: JRE-1228 support custom frame decoration
(cherry picked from commit d2820524a1)
2023-01-14 01:01:55 +01:00
Anton Tarasov
83a35aade7 JRE-1162 [jdk11] support on-the-fly DPI change on linux
(cherry picked from commit c06c4c69d3)
2023-01-14 01:01:55 +01:00
Anton Tarasov
2d079aff51 JRE-1142 [jdk11] hidpi is not detected since Ubuntu 18.04
(cherry picked from commit be4f8c0d9d)
2023-01-14 01:01:55 +01:00
Anton Tarasov
1154a0ce4c JRE-1111 [JDK11] java/beans/Beans/TypoInBeanDescription.java crashes at libawt_xawt.so+0x4a30d
(cherry picked from commit b89e6aed0b)
2023-01-14 01:01:55 +01:00
Anton Tarasov
e2aa9e627a fix JNI_OnUnload definition
(cherry picked from the commit  3571e39071)

(cherry picked from commit 1019d8f0f2)
2023-01-14 01:01:54 +01:00
Anton Tarasov
077e6377c6 JRE-981 IM workaround does not work anymore
forward port of 2d7c29b in JetBrains/jdk8u_jdk

(cherry picked from commit f3ccc53e02)
2023-01-14 01:01:54 +01:00
Anton Tarasov
2357856881 JRE-938 [windows] Frame.setMaximizedBounds not hidpi-aware
(cherry picked from commit cc97899923320e1fa17f5e44975c4a0f0ba51014)
(cherry picked from commit ccfe65be7f)
2023-01-14 01:01:54 +01:00
Anton Tarasov
1993295389 JRE-907 macOS: add ability to check for scaled display mode
(cherry picked from commit e496262aa1)
2023-01-14 01:01:54 +01:00
Anton Tarasov
f0f5c01293 [jdk9] HiDPI scale is not detected on some linux desktops
(cherry picked from commit 9279d80110)
2023-01-14 01:01:54 +01:00
Anton Tarasov
05beffdc40 JRE-681 [windows] direct drawing into frame graphics may have wrong translate
(cherry picked from commit 6ea1d45fd1)
2023-01-14 01:01:54 +01:00
Anton Tarasov
6ec63a4be5 Read org.gnome.desktop.interface/scaling-factor
(cherry picked from commit 277357ae73)
2023-01-14 01:01:54 +01:00
Anton Tarasov
f0b7b30c96 Revert "8239894: Xserver crashes when the wrong high refresh rate is used"
This code is needed for "Read org.gnome.desktop.interface/scaling-factor".
Keep it until "JDK-8260270 Implement the HiDPI scale factor reading" is fixed.

This reverts commit a7c2ebc7
2023-01-14 01:01:54 +01:00
Anton Tarasov
2fdd0f39ee Do not scale base font in HiDPI mode on Linux
(cherry picked from commit 6fb2c36529)
2023-01-14 01:01:54 +01:00
Anton Tarasov
12d5ab6b52 JRE-772 swing returns incorrect FRC when AA is off
(cherry picked from commit a161897d908aa10da6306c06452c5d6317fed2f0)
(cherry picked from commit 2bf5a7ca5c)
2023-01-14 01:01:54 +01:00