-
Bug
-
Resolution: Fixed
-
P4
-
jfx14
-
b10
-
x86_64
-
linux_ubuntu
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8320672 | jfx21.0.2 | Jose Pereda | P4 | Resolved | Fixed | b05 |
JDK-8322254 | jfx17.0.10 | Jose Pereda | P4 | Resolved | Fixed | b01 |
Ubuntu 20.04, i3wm
A DESCRIPTION OF THE PROBLEM :
When using i3 on Linux, it's not possible to interact with menus in the menu bar. They vanish immediately after being activated, and they appear in the wrong location relative to the menu bar
This used to work in JavaFX 8u261, but it doesn't in JavaFX 14.0.2
REGRESSION : Last worked in version 8u261
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the attached program when using the i3 window manager, and try to interact with the menus
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The menus should be useable
---------- BEGIN SOURCE ----------
public class BasicJavaFx
{
public static void main(String[] args)
{
Application.launch(MainWindow.class);
}
public static class MainWindow extends Application
{
@Override
public void start(Stage primaryStage)
{
final Menu file = new Menu("File");
file.getItems().addAll(
new MenuItem("Open"),
new MenuItem("Save"),
new SeparatorMenuItem(),
new MenuItem("Exit")
);
final Menu edit = new Menu("Edit");
edit.getItems().addAll(
new MenuItem("Copy"),
new MenuItem("Paste")
);
final MenuBar menuBar = new MenuBar(file, edit);
final VBox root = new VBox(menuBar);
final Scene scene = new Scene(root, 600, 400);
primaryStage.setScene(scene);
primaryStage.show();
}
}
}
---------- END SOURCE ----------
FREQUENCY : always
- backported by
-
JDK-8320672 Menus inaccessible on Linux with i3 wm
- Resolved
-
JDK-8322254 Menus inaccessible on Linux with i3 wm
- Resolved
- relates to
-
JDK-8260528 Clean glass-gtk sizing and positioning code
- Resolved
-
JDK-8292298 JavaFX menus far displaced (>200 pixels both x and y) with GTK3 and i3 tiling wm
- Open
- links to
-
Commit openjdk/jfx17u/b7e3871c
-
Commit openjdk/jfx21u/292315f0
-
Commit openjdk/jfx/f1859743
-
Review openjdk/jfx17u/173
-
Review openjdk/jfx21u/34
-
Review openjdk/jfx/1173