Bug 466119

Summary: Using (-) values for windows position makes the window disapear
Product: [Plasma] kwin Reporter: Mend <thedjknownasez>
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: major CC: thedjknownasez
Priority: NOR    
Version First Reported In: 5.27.0   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mend 2023-02-20 03:33:35 UTC
When attempting to use negative values for window position under 'Configure Special Window Settings' cause the window to turn invisible and it's position is moved nowhere near it is suppose to be. I can tell because I use this for my virtual machine and the position where my mouse is captured makes no sense what-so-ever.

STEPS TO REPRODUCE
1. Select a window
2. Alt+F3
3. More Actions>Configure Special Window Settings
4. Add Property(bottm left + button)
5. Position
6. Use the Force option and use a negative value for x or y.
7. Apply and the window will disapear from view.

OBSERVED RESULT
Window disapears and moves in completely unexpected way.

EXPECTED RESULT
For it to move a negative amount of pixels off my screen.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: NixOS
(available in About System)
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Comment 1 Mend 2023-02-20 03:38:06 UTC
Using the 'Apply Initially' option(for position) seems to sometimes work for the positive value but the negative value isn't recognized.
Comment 2 Vlad Zahorodnii 2023-02-20 09:05:02 UTC
What's the usecase for putting windows offscreen?
Comment 3 Bug Janitor Service 2023-02-20 09:09:20 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3633
Comment 4 Mend 2023-02-20 09:48:40 UTC
(In reply to Vlad Zahorodnii from comment #2)
> What's the usecase for putting windows offscreen?

I like to have a 16:9 section of my Ultrawide sectioned off for my virtual machine. Using VMM there are headers and a toolbar at the top of the window. So in order to have a full screen like experiance I need to move it partially off screen(so the top bars are not shown anymore) and prefer to do that once I open my VM. Currently now I have to manually drag it every time I open it. I mainly do this for my Astrology work/readings as none of my software runs on Linux.

https://imgur.com/a/sC0CuTS
Comment 5 Mend 2023-02-20 12:18:04 UTC
(In reply to Bug Janitor Service from comment #3)
> A possibly relevant merge request was started @
> https://invent.kde.org/plasma/kwin/-/merge_requests/3633

I don't believe so. This is happening under x11(I haven't tried under Wayland). This is supposed to be a wayland fix.