JDK-8166291 : [hidpi] Ubuntu 16.04: the toolbar's ">>" button isn't navigable
  • Type: Bug
  • Component: javafx
  • Sub-Component: window-toolkit
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_ubuntu
  • Submitted: 2016-09-19
  • Updated: 2016-12-16
  • Resolved: 2016-12-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Relates :  
Description
this is probably the next duplicate for JDK-8159963, so filing separately just to check the case after the fix.

Ubuntu 16.04 (Unity) + HiDPI, JDK9 b135.

Please run the following code:

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.web.HTMLEditor;
import javafx.stage.Stage;

public class HTMLEditorSample extends Application {

    @Override
    public void start(Stage stage) {
        stage.setWidth(300);
        stage.setHeight(300);
        final HTMLEditor htmlEditor = new HTMLEditor();
        htmlEditor.setPrefHeight(245);
        Scene scene = new Scene(htmlEditor);
        stage.setScene(scene);
        stage.show();
    }

    public static void main(String[] args) { launch(args); }
}

the ">>" buttons in the right corners of the toolbars are not navigable.


the issue isn't reproducible on a non-HiDPI machine with the same OS.
JDK 8: not applicable, as there are no ">>" buttons
Comments
JDK-8163496
15-12-2016

With JDK-8163496 committed, I too can no longer reproduce the problem. To the issues Semyon saw... I don't see #1. I do see #2, but can reproduce it on Mac. The custom color windows shows momentarily on Mac but goes away. Also, the hyperlink "custom color" just about disappears when I hover. Hello/dist/Hello.jar hello.HelloHTMLEditor does not show the wacky behaviors. Going to close this as a duplicate of JDK-8163496
15-12-2016

I cannot reproduce the issue after JDK-8163496. But I found some other issues: 1. Artifact as shown on screenshot-1 (light strip on the bottom of the Paragraph combobox). It appears when the selection popup is shown only with GTK3. Probably, the glow around of the popup window is not composited well. 2. When I click upper ">>" button, then click the "Foreground color" button, then click "Custom color" link in the opened popup window - nothing happens, but after that "Foreground color" button becomes non-functional. This happens with both GTK2 and GTK3. Same for the "Background color" button. Probably, this is by design.
13-12-2016

I cannot reproduce the issue using the mentioned options only (-Djdk.gtk.verbose=true -Djdk.gtk.version=3) on a non-HiDPI machine (Ubuntu 16.04, Unity) with the only exception: when set menu scale = 2 via system "displays" settings, the extension panel is shown at a wrong place. > Am I missing something related to "navigation" ? it means "the pull down menus are not shown at all" > export GDK_SCALE=2 the behavior for the real (hardware) HiDPI may differ from the behavior for the emulated HiDPI; so please make sure that exactly the same issue is being discussed. please see the attached "HiDPI_NOK.mp4" file (no flags/options were used at all when running the demo), it demonstrates the bug for the tab panes - clicking on ">>" buttons for Modena's "overflow" samples has no effect. Also demonstrates the buggy behavior for ColorPicker (JDK-8159963) - the color could be selected, but the picker isn't rendered properly.
27-09-2016

If I add: -Djdk.gtk.verbose=true -Djdk.gtk.version=3 I can see the problem, but I see it without HIDPI. I suspect it is related to the native headers mismatch I am chasing.
26-09-2016

I launched the app with export GDK_SCALE=2 ddhill@ddhill-pad:~/shared/tmp$ $JIGSAW_HOME/bin/java -cp . -Dprism.allowhidpi="true" HTMLEditorSample ddhill@ddhill-pad:~/shared/tmp$ $JIGSAW_HOME/bin/java -version java version "9-ea" Java(TM) SE Runtime Environment (build 9-ea+136) Java HotSpot(TM) 64-Bit Server VM (build 9-ea+136, mixed mode) The application looks correct, and I can mouse click on the >>, and see the pull down menus just like on my mac. Am I missing something related to "navigation" ?
26-09-2016

also affects ToolBar
19-09-2016