<?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>398628</bug_id>
          
          <creation_ts>2018-09-14 17:57:50 +0000</creation_ts>
          <short_desc>Popup window does not open on Wayland after switching Virtual Desktop</short_desc>
          <delta_ts>2023-08-26 04:45:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>wayland-generic</component>
          <version>5.13.5</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>wayland-only</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrius Štikonas">andrius</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>andrius</cc>
    
    <cc>bugseforuns</cc>
    
    <cc>nate</cc>
    
    <cc>notuxius</cc>
    
    <cc>plasma-bugs-null</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/kwin/-/commit/2f6f1d98221eb907f3ec89787ecd16556da76319</cf_commitlink>
          <cf_versionfixedin>6.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1780882</commentid>
    <comment_count>0</comment_count>
    <who name="Andrius Štikonas">andrius</who>
    <bug_when>2018-09-14 17:57:50 +0000</bug_when>
    <thetext>Start Plasma Wayland.

 * Right click on the desktop.

 * Press Ctrl+F2 to switch to another Virtual desktop.

 * Right click on Plasma panel, popup doesn&apos;t open.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1781431</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Mentyu">notuxius</who>
    <bug_when>2018-09-16 15:50:36 +0000</bug_when>
    <thetext>Can reproduce

Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.14.80
Qt Version: 5.11.1
KDE Frameworks Version: 5.51.0
Kernel Version: 4.15.0-34-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7,7 GiB of RAM</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1937876</commentid>
    <comment_count>2</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2020-06-17 15:26:46 +0000</bug_when>
    <thetext>On neon unstable only the first right-click on plasma pamel fails sometimes.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.72.0
Qt Version: 5.14.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2247761</commentid>
    <comment_count>3</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2023-08-21 19:29:33 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4346</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2247909</commentid>
    <comment_count>4</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2023-08-22 13:25:07 +0000</bug_when>
    <thetext>Git commit 2f6f1d98221eb907f3ec89787ecd16556da76319 by Vlad Zahorodnii.
Committed on 22/08/2023 at 15:17.
Pushed by vladz into branch &apos;master&apos;.

wayland: Keep popups on their parents&apos; desktops

At the moment, popups are assigned to the current desktop and activity.
However, a toplevel can be on several virtual desktops. If user switches
between virtual desktops and the active window does not change, it can
result in not being able to dismiss or open new popups depending on the
toolkit implementation details.

To prevent that, keep popups on same virtual desktops as their parents.

M  +4    -6    src/xdgshellwindow.cpp

https://invent.kde.org/plasma/kwin/-/commit/2f6f1d98221eb907f3ec89787ecd16556da76319</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>