https://bugs.kde.org/show_bug.cgi?id=475706

            Bug ID: 475706
           Summary: Files opened from KRunner do not have correct Wayland
                    activation environment set
    Classification: Plasma
           Product: krunner
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Keywords: qt6, wayland
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: n...@kde.org
                CC: alexander.loh...@gmx.de, natalie_clar...@yahoo.de,
                    nicolas.fe...@gmx.de
  Target Milestone: ---

Plasma 6 git master Wayland.


STEPS TO REPRODUCE
1. Assign Kate to open all text files, if it wasn't already set up that way
1. Create a text file on the desktop named foobar.txt, add some content to it,
and open it by clicking on it
2. Close the file, but do not quit Kate
3. Search for "foobar.txt" in KRunner (use the KRunner binary not a
KRunner-powered search in Kickoff or Overview)
4. Open the file via either the Files or Recent Documents runner


OBSERVED RESULT
The file is opened in Kate, but Kate is not brought to the front. Instead its
Task Manager icon turns orange, indicating that KWin rejected an activation
request.


EXPECTED RESULT
Kate gets brought to the front.


ADDITIONAL INFORMATION
Kate gets brought to the front when the file is opened from Folder View,
Dolphin, or a KRunner-powered search in Kickoff or Overview. The problem only
happens when searching from KRunner itself. This suggests that Kate is set up
for receiving activation events properly, but KRunner itself (and only KRunner)
is not sending one correctly.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to