Public bug reported:

Video of the bug: https://www.youtube.com/watch?v=qLXKH-AQLCQ

To reproduce:

1. Install Xubuntu 24.04
2. Install gtk-4-examples
3. Start "gtk4-demo-application"
4. Click the Preferences menu.
5. Mouse over the "Colour" submenu, so it opens.
6. Click "Prefer dark theme" menu option.

Expected result:

The menu closes and the app switches to dark mode.

Actual result:

Nothing happens, because the Colour submenu stays open, preventing the
parent menu from doing anything. It does receive the mouse click, as
evidenced by the menu item flashing when you click it. But that's all
that happens.

Notice that clicking anywhere else in the application's window does not
close the menu like it should. However, clicking outside the
application's window does close it.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: libgtk-4-1 4.14.2+ds-1ubuntu1
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: XFCE
Date: Sat Aug 31 04:15:20 2024
InstallationDate: Installed on 2023-06-01 (456 days ago)
InstallationMedia: Xubuntu 23.04 "Lunar Lobster" - Release amd64 (20230414.2)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: gtk4
UpgradeStatus: Upgraded to noble on 2024-05-16 (106 days ago)

** Affects: gtk4 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gtk4 in Ubuntu.
https://bugs.launchpad.net/bugs/2078538

Title:
  Gtk 4 applications menus do not close when clicking elsewhere in the
  application

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk4/+bug/2078538/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to