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

            Bug ID: 481014
           Summary: Renaming of org.kde.kwin.WindowThumbnailItem to
                    WindowThumbnail breaks backwards compatibility for no
                    reason
    Classification: Plasma
           Product: kwin
           Version: 5.93.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: core
          Assignee: kwin-bugs-n...@kde.org
          Reporter: benjaminfle...@icloud.com
  Target Milestone: ---

SUMMARY
***
WindowSwitcher.qml from custom theme does not work any more. It was because
suddenly with v6 "KWin.WindowThumbnailItem" has been renamed to
"KWin.WindowThumbnail". 

After renaming the component, the WindowSwitcher works again. 

This naming change is not documented anywhere and it is obviouly not an
underlying API change because after renaming, the old component from v5
continues to work. On top of that in KWin source code the whole thing is still
called "WindowThumbnailItem.cpp".

WindowThumbnail should be renamed again to WindowThumbnailItem or a copy should
be created to increase compabiltiy with v5 WindowSwitcher.qml files.
***


STEPS TO REPRODUCE
1. Spend hours to create a WindowSwitcher.qml for v5
2. Install plasma v6
3. Find out there is a lot of random renaming going on for which you need to
spend hours debugging because there is no documentation of the removal and also
no documentation what we actually gain from renaming to "WindowThumbnail".

OBSERVED RESULT
Frustrated developers of custom themes

EXPECTED RESULT
Renaming only for real API changes. Depreciation warnings at least for the APIs
used in last version. 
If  backwards compatibility is given, a copy with the old name should be
created besides the new name.s

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.9.3
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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

Reply via email to