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

            Bug ID: 481082
           Summary: Incorrect KWin rule export dialog on KDE Plasma 6
    Classification: Applications
           Product: systemsettings
           Version: 5.93.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Keywords: regression, reproducible, usability
          Severity: normal
          Priority: NOR
         Component: kcm_kwinrules
          Assignee: kwin-bugs-n...@kde.org
          Reporter: xalt7x.serv...@gmail.com
                CC: isma...@gmail.com, plasma-b...@kde.org,
                    vlad.zahorod...@kde.org
  Target Milestone: ---

Created attachment 165680
  --> https://bugs.kde.org/attachment.cgi?id=165680&action=edit
Screencast demonstrating the issue

SUMMARY
KWin on KDE Plasma 6 has a weird UX regression with rule export.
On KDE Plasma 5 in the "Export" dialog it was possible to save rule(s) to the
new file that will be created automatically when user input name and press
"Save". 
On KDE Plasma 6 in the "Export" dialog I need to overwrite existing file,
otherwise there is an error.


STEPS TO REPRODUCE (there is also screencast in the attachment)
1. Go to "System Settings" > "Apps & Windows" > "Window Management"  > "Window
Rules"
(alternatively, execute command "kcmshell6 kcm_kwinrules")
2. Create and "Apply"/Save some window rule
3. Navigate back to the "Window Rules" window
4. Press "Export" button, select rule that you would like to export
5. Press "Save Rules" button
6. In the Export dialog enter name of the saved .kwinrule file (e.g., "nice")
7. Press "Open" (the button name here is "Open", not "Save")

OBSERVED RESULT
Error dialog appears with title: "Cannot open file — System Settings" and
description "The file "/home/user/nice" could not be  found"

EXPECTED RESULT
a new "nice.kwinrule" file is created

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Fedora Kinoite 40
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
I assume that kcm_kwinrules selects "FileDialog.OpenFile" even for the "Export"
dialog.

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

Reply via email to