Col-E / Col-E/Recaf

Menu dropdown instantly closes on Hyprland/Wayland

Open
#873 2 comments 0 reactions 0 assignees View on GitHub
2.X 3.X 3rd party problem JavaFX
Dominant language
Java
Stars
7.4k
Forks
538
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

When I open a menu dropdown, the dropdown instantly closes and it's impossible to access menu items.

On Hyprland the window over the mouse cursor is automatically focused. I believe this behavior causes the main window to lose its focused state and therefore closes the dropdown.

**To Reproduce**

Steps to reproduce the behavior:
1. Install Linux
2. Install Hyprland
3. Download the latest version of Recaf (4.0.0) from the GitHub.
4. Execute the program.

**Exception**

(None)

**Screenshots**

https://github.com/user-attachments/assets/be7813e6-60ad-4bb1-a488-5f05d48cf128

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.