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

            Bug ID: 499936
           Summary: Clicking on Trash widget fails to bring Dolphin
                    forward if it was already open
    Classification: Plasma
           Product: plasmashell
           Version: 6.2.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Keywords: wayland
          Severity: minor
          Priority: NOR
         Component: Trash widget
          Assignee: plasma-b...@kde.org
          Reporter: n...@kde.org
            Blocks: 460318
  Target Milestone: 1.0

STEPS TO REPRODUCE
1. Add a Trash widget to a panel
2. Open Dolphin
3. Click on the Trash widget


OBSERVED RESULT
The Dolphin window opens trash:/ in a new tab, but the window does not come
forward.


SOFTWARE/OS VERSIONS
Git master everything on top of Fedora KDE 41 with Qt 6.8.2 


ADDITIONAL INFORMATION
Somehow it only affects the Trash widget. Clicking on it simply runs:

> Plasmoid.onActivated: Qt.openUrlExternally("trash:/")

However Qt.openUrlExternally() works as expected to raise Dolphin when invoked
from a little test program:

import QtQuick
import QtQuick.Controls as QQC

Item {
    width: 300
    height: 300

    QQC.Button {
        anchors.centerIn: parent

        text: "Open Trash"
        icon.name: "user-trash-symbolic"
        onClicked: {
            Qt.openUrlExternally("trash:/")
        }
    }
}

And Qt.openUrlExternally() raises dolphin when invoked from the slideshow
wallpaper config UI, where added folders display "Open folder…" buttons. So
somehow, the issue seems to be specific to just the Trash widget!


Referenced Bugs:

https://bugs.kde.org/show_bug.cgi?id=460318
[Bug 460318] Wayland activation bugs
-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to