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

            Bug ID: 493048
           Summary: Closing panel Widget Explorer opens Panel
                    Configuration mode, which interacts inconsistently
                    with opened windows
    Classification: Plasma
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Edit Mode
          Assignee: plasma-b...@kde.org
          Reporter: christoph.w...@gmx.de
  Target Milestone: 1.0

SUMMARY

If Widget Explorer closes, there is a weird interaction with how it was opened
and how it was closed:

- If widget explorer was opened by entering edit mode, then clicking the "Add
or Manage Widgets" button:
    - if the close button on widget explorer is used, it returns to regular
edit mode
    - if one of the edit mode buttons opening a config dialog is used (e.g.
"Global Theme"), Widget Explorer and Edit mode close, the window is focused
    - if a screenshot is taken by pressing the Print Screen key, Widget
Explorer and Edit mode close and the Spectacle  window is displayed
- If widget explorer was opened by right-clicking a panel and clicking "Add or
Manage Widgets": 
    - if the close button is used, then clicking the close button opens Panel
Configuration mode
    - if one of the edit mode buttons opening a config dialog is used (e.g.
"Global Theme"), Widget Explorer closes, Panel settings opens, then also closes
(as does Edit mode) and the config dialog is opened in regular mode
    - if a screenshot is taken by pressing the  Print Screen key,  Widget
Explorer closes, Spectacle opens, then Spectacle is hidden and the panel enters
Panel Configuration mode

STEPS TO REPRODUCE
1. Right-click the panel, "Add or Manage Widgets"
2. Press Print Screen key

(this is the weirdest case to me, the other conditions have steps as outlined
in the summary)

OBSERVED RESULT

Spectacle opens, then is hidden and Panel Configuration mode is activated

EXPECTED RESULT

Debatable, but I think the behavior if Widget Explorer mode is opened from
desktop Edit mode is sensible, and if it is opened from the right-click menu it
is wrong:

- closing Widget Explorer with the button should close Widget Explorer and Edit
mode (as the user never explicitly entered Panel Configuration nor Edit mode;
but I can see how having panel edit mode active to reposition widgets could be
convenient after adding widgets so the slight inconsistency might be worth it)
- opening a configuration window should not first open Panel Configuration mode
only to immediately close it, Widget Explorer and Edit mode should just close
directly
- taking a screenshot should close widget explorer and edit mode, and leave the
Spectacle window visible, without immediately hiding it again in favor of Panel
Configuration mode.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.1.90 (git master from a couple of hours ago)
KDE Frameworks Version: 6.7.0 (git master from a couple of hours ago)
Qt Version: 6.7.2

ADDITIONAL INFORMATION

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

Reply via email to