[
https://issues.apache.org/jira/browse/LUCENE-8789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16832445#comment-16832445
]
Uwe Schindler edited comment on LUCENE-8789 at 5/3/19 11:54 AM:
----------------------------------------------------------------
I see no problem on Java 11. Some minor glitches (font sizes), but thats more a
general Windows problem I think. So no action needed on master / Lucene 9.
On Java 8, the HiDPI displays looks strange with the custom plugin. Font size
is correct, but window size is too small. In addition on the first "open" index
screen the buttons on border are half out of window. The choice list for
directory implementation collapsed vertically to a single line.
Actually the default skin is "small" - but works on Java 8, so actually I wold
not use a custom skin at all. I have a 150% display, so its not too worse,
maybe different for 200% users.
But for all Windows 10 users there is an easy workaround. The problem is that
Java 8 itsself declares as "HiDPI compatible", but actually it isnt. So Windows
won't automatically zoom the pixel sizes and images. To fix this we may need to
add some info to the system requirements section. Right click on "java.exe"
(for "ant run") or "javaw.exe" (for batch file) and choose "HiDPI settings" and
the enable "System (Advanced)" as compatibility mode. The Windows zooms and all
is fine (looks a bit blurry - as usual):
!screenshot-1.png|width=626,height=434!
IMHO: You should change the BATCH file to use java.exe instead of javaw.exe, a
console window is opened anyways, but with javaw.exe you don't get any console
output when something wents wrong.
was (Author: thetaphi):
I see no problem on Java 11. Some minor glitches (font sizes), but thats more a
general Windows problem I think. So no action needed on master / Lucene 9.
On Java 8, the HiDPI displays looks strange with the custom plugin. Font size
is correct, but window size is too small. In addition on the first "open" index
screen the buttons on border are half out of window. The choice list for
directory implementation collapsed vertically to a single line.
Actually the default skin is "small" - but works on Java 8, so actually I wold
not use a custom skin at all. I have a 150% display, so its not too worse,
maybe different for 200% users.
But for all Windows 10 users there is an easy workaround. The problem is that
Java 8 itsself declares as "HiDPI compatible", but actually it isnt. So Windows
won't automatically zoom the pixel sizes and images. To fix this we may need to
add some info to the system requirements section. Right click on "java.exe"
(for "ant run") or "javaw.exe" (for batch file) and choose "HiDPI settings" and
the enable "System (Advanced)" as compatibility mode. The Windows zooms and all
is fine (looks a bit blurry - as usual):
!screenshot-1.png!
IMHO: You should change the BATCH file to use java.exe instead of javaw.exe, a
console window is opened anyways, but with javaw.exe you don't get any console
output when something wents wrong.
> Use JGoodies' look&feel for Luke on Windows platform
> ----------------------------------------------------
>
> Key: LUCENE-8789
> URL: https://issues.apache.org/jira/browse/LUCENE-8789
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/luke
> Reporter: Tomoko Uchida
> Assignee: Tomoko Uchida
> Priority: Minor
> Attachments: LUCENE-8789.patch, Luke_ Lucene Toolbox Project - v9.0.0
> 2019_05_02 11_45_14.png, Luke_ Lucene Toolbox Project - v9.0.0 2019_05_02
> 11_53_37.png, sc_luke_java8.png, screenshot-1.png
>
>
> JGoodies Looks ([http://www.jgoodies.com/freeware/libraries/looks/]) is a
> Swing look&feel library for Windows platform.
> The main advantage of the library is (quoted from their home page):
> {quote}Our Windows look&feel focuses on a precise emulation on Windows XP,
> Vista, 7, 8, 8.1, and now Windows 10 in the following areas: menus, icons,
> colors, borders, fonts, font sizes, insets, and widget dimensions. It honors
> the screen resolution (low vs. high dpi) to adjust sizes, insets, and widget
> dimensions.
> {quote}
> The library works fine on Java11, relatively light weight (400KB), has no
> other external dependencies, and distributed under 2-Clause BSD License (see:
> [http://www.jgoodies.com/downloads/libraries/]).
>
> Actually, I forgot to include this when migrating Luke from the GitHub repo
> to Lucene project... :)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]