Bug 487001 - Popup window has same window class name as parent one, so special positioning/sizing doesn't work
Summary: Popup window has same window class name as parent one, so special positioning...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.4
Platform: KaOS Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-14 06:07 UTC by Anthony Fieroni
Modified: 2024-05-14 08:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Fieroni 2024-05-14 06:07:09 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
The problem is if you have browser or any other application with utility window or popup cannot have specific position or size on that window. https://www.w3schools.com/js/js_popup.asp just open popup click right button on title to configure the class of specific widow show the same name as general one for e.g. if you open the popup from Flakon the class name is org.kde.falkon

STEPS TO REPRODUCE
1. Open application
2. Open popup or utility window
3. Class name is same as general application one

OBSERVED RESULT
Class name doesn't change for utility wndows

EXPECTED RESULT
Different class name for utility widows (as in Plasma 5)

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

ADDITIONAL INFORMATION
Comment 1 mozo 2024-05-14 08:46:58 UTC
The same problem here - I tried it on Firefox and TeamViewer. However, TeamViewer is not a popup but the special options doesn't work at all. Only Force. All other options are just ignored but Force. But for me the window class names are different, still yhe options doesn't work. Something more - In Plasma 5 if you close an app at a certain position it's opened in the same posion. Now in Plasma 6 the position get forgotten once the app is closed. For exemple I can give TeamViewer - it always opens in the lower left corner no matter where you left it before you close it. In the mean time this is woring fine with Tixati and Konsole for example. This is not right and should be fixed.