Bug 577434 - [GTK][Wayland] File editor drop down menu only closes with ESC
Summary: [GTK][Wayland] File editor drop down menu only closes with ESC
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.21   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-24 16:16 EST by Joel Majano CLA
Modified: 2021-11-25 13:12 EST (History)
1 user (show)

See Also:


Attachments
The drop down menu with a search bar right above the file list (37.67 KB, image/png)
2021-11-24 16:16 EST, Joel Majano CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Majano CLA 2021-11-24 16:16:55 EST
Created attachment 287563 [details]
The drop down menu with a search bar right above the file list

The drop down menu that appears when too many files are open in the editor (the two right facing arrows) does not close when clicking outside of the menu. The only way I can get the drop down menu to close is by either selecting a file, or by pressing Escape. It actually locks down the entire UI, and I am unable to press any other UI elements.

Clicking outside the drop down menu closes it on other platforms. I tested Mac AArch64 and Windows, and clicking anywhere else closes the menu. On 4.22 M3, this issue still persists, and I tested by creating a test project, then creating and opening enough source files so that the drop down menu appears.

See the attached screenshot to see the exact menu.
Comment 1 Joel Majano CLA 2021-11-24 16:23:31 EST
Forgot to mention, my environment is Fedora 35 - GTK 3.24.30
Comment 2 Andrey Loskutov CLA 2021-11-25 09:08:21 EST
(In reply to Joel Majano from comment #1)
> Forgot to mention, my environment is Fedora 35 - GTK 3.24.30
Are you using Wayland may be?

If not, this most likely also affects RHEL 9 that has gtk3-3.24.30-3.el9.x86_64

Works fine for me with X11 / gtk3-3.22.30-5.el7.x86_64 from RHEL 7.9.
Looks like this is GTK version or X11/Wayland dependent?
Comment 3 Joel Majano CLA 2021-11-25 10:54:04 EST
(In reply to Andrey Loskutov from comment #2)
> (In reply to Joel Majano from comment #1)
> > Forgot to mention, my environment is Fedora 35 - GTK 3.24.30
> Are you using Wayland may be?
> 
> If not, this most likely also affects RHEL 9 that has
> gtk3-3.24.30-3.el9.x86_64
> 
> Works fine for me with X11 / gtk3-3.22.30-5.el7.x86_64 from RHEL 7.9.
> Looks like this is GTK version or X11/Wayland dependent?

Ah yes, I changed from Wayland to Xorg on login in F35 and now it works fine. Looks like its a Wayland issue.
Comment 4 Andrey Loskutov CLA 2021-11-25 11:16:20 EST
(In reply to Joel Majano from comment #3)
> Ah yes, I changed from Wayland to Xorg on login in F35 and now it works
> fine. Looks like its a Wayland issue.

Could you please check if that is already reported? I believe this was a known Wayland / SWT issue, but I'm not sure.
Comment 5 Joel Majano CLA 2021-11-25 13:12:56 EST
(In reply to Andrey Loskutov from comment #4)
> (In reply to Joel Majano from comment #3)
> > Ah yes, I changed from Wayland to Xorg on login in F35 and now it works
> > fine. Looks like its a Wayland issue.
> 
> Could you please check if that is already reported? I believe this was a
> known Wayland / SWT issue, but I'm not sure.

I ran a couple searches under platform -> SWT with the keywords "Wayland"\"editor"\"file"\"close" and nothing related came up apart from this bug.