<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>444609</bug_id>
          
          <creation_ts>2021-10-29 15:18:58 +0000</creation_ts>
          <short_desc>GTK applications do not use the Global Menu widget in a Wayland session</short_desc>
          <delta_ts>2024-03-20 17:31:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Global Menu widget</component>
          <version>5.23.2</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>424485</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Avraham Hollander">anhollander516</reporter>
          <assigned_to name="Kai Uwe Broulik">kde</assigned_to>
          <cc>anhollander516</cc>
    
    <cc>indecisiveautomator</cc>
    
    <cc>mvourlakos</cc>
    
    <cc>nate</cc>
    
    <cc>philipp.reichmuth</cc>
    
    <cc>plasma-bugs-null</cc>
    
    <cc>postix</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      <flag name="Wayland"
          id="4469"
          type_id="31"
          status="+"
          setter="anhollander516"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2073275</commentid>
    <comment_count>0</comment_count>
    <who name="Avraham Hollander">anhollander516</who>
    <bug_when>2021-10-29 15:18:58 +0000</bug_when>
    <thetext>SUMMARY
GTK applications do not use the Global Menu widget in a Wayland session. Rather, they use their own GTK menubar.

STEPS TO REPRODUCE
1. Install community/appmenu-gtk-module
2. Add a Global Menu widget
3. Open GTK applications that use a menubar in a Plasma Wayland session. I have reproduced this with firefox-appmenu, qalculate-gtk, and pcmanfm.

OBSERVED RESULT
GTK applications use their own menubar, rather than the global menu. firefox-appmenu is a patched version of firefox that allows it to use appmenu, and it has native GTK menubar support removed. In the Wayland session, there is no access to the menubar at all. This is obviously because of the patch, and not related to the bug, but something observed nonetheless.

EXPECTED RESULT
GTK applications use the Global Menu as intended


SOFTWARE/OS VERSIONS
Operating System: Arch Linux (fully up to date as of Fri Oct 29 11:10:43 AM EDT 2021)
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.14-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2074431</commentid>
    <comment_count>1</comment_count>
    <who name="">indecisiveautomator</who>
    <bug_when>2021-11-03 12:47:55 +0000</bug_when>
    <thetext>Able to reproduce on Arch Linux w/ Plasma 5.23.2, primarily affecting me with Electron apps and Chromium.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2087578</commentid>
    <comment_count>2</comment_count>
    <who name="phrxmd">philipp.reichmuth</who>
    <bug_when>2021-12-22 19:54:27 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 426253 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2303460</commentid>
    <comment_count>3</comment_count>
    <who name="postix">postix</who>
    <bug_when>2024-03-20 17:31:09 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 424485 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>