<?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>444357</bug_id>
          
          <creation_ts>2021-10-25 07:00:29 +0000</creation_ts>
          <short_desc>Opening files for already opened apps won&apos;t switch to that window. (Wayland)</short_desc>
          <delta_ts>2021-10-25 11:25:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>8</classification_id>
          <classification>I don&apos;t know</classification>
          <product>kde</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>424795</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jebin">jebin12raj</reporter>
          <assigned_to name="Unassigned bugs">unassigned-bugs-null</assigned_to>
          <cc>bharadwaj.raju777</cc>
    
    <cc>bugseforuns</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2071897</commentid>
    <comment_count>0</comment_count>
    <who name="Jebin">jebin12raj</who>
    <bug_when>2021-10-25 07:00:29 +0000</bug_when>
    <thetext>SUMMARY
When I try to open a file for an app that is already open (say a text file in Kate), the window is not automatically switched to that app.


STEPS TO REPRODUCE
1. Open any text file in Kate.
2. Switch to dolphin and try opening another text file.

OBSERVED RESULT
Kate doesn&apos;t come back to focus. I have to manually switch back. Same result is seen in other apps like firefox. (see https://imgur.com/pEzaNyc).

EXPECTED RESULT
The corresponding window should be brought back to focus.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20211021
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.11-2-default (64-bit)
Graphics Platform: Wayland</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2071915</commentid>
    <comment_count>1</comment_count>
    <who name="Bharadwaj Raju">bharadwaj.raju777</who>
    <bug_when>2021-10-25 08:08:12 +0000</bug_when>
    <thetext>Needs https://codereview.qt-project.org/c/qt/qtwayland/+/321246</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2071962</commentid>
    <comment_count>2</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2021-10-25 11:25:04 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>