Bug 487352 - "Add Floating Tile" button fails to return to normal location after deleting last floating tile with only a single normal tile zone
Summary: "Add Floating Tile" button fails to return to normal location after deleting ...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: Custom Tiling (other bugs)
Version First Reported In: 6.0.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-22 06:31 UTC by Filip
Modified: 2024-08-29 23:12 UTC (History)
2 users (show)

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


Attachments
Add Floating Tile button position (1.24 MB, image/png)
2024-05-22 06:31 UTC, Filip
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filip 2024-05-22 06:31:49 UTC
Created attachment 169694 [details]
Add Floating Tile button position

SUMMARY
Add Floating Tile button is incorrectly positioned on the fresh start of the Tiles Editor.
Splitting horizontally or vertically resolves the issue in current and all subsequent starts until the PC is restarted.

STEPS TO REPRODUCE
1. Reboot the PC
2. Launch the Tiles Editor (Meta+T)
3. Add Floating Tile is positioned in bottom right corner -> DEFECT

OBSERVED RESULT
Add Floating Tile button is positioned in bottom right corner on the fresh start of the Tiles Editor

EXPECTED RESULT
Add Floating Tile button is positioned in the middle under the Split Horizontally and Split Vertically buttons

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.9.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz
Memory: 7.7 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970/PCIe/SSE2
Comment 1 Nate Graham 2024-08-22 14:00:22 UTC
Can you reproduce this in Plasma 6.1.4 or later? I cannot reproduce it in current git master, which will become Plasma 6.2 in two months.
Comment 2 Filip 2024-08-23 16:00:58 UTC
(In reply to Nate Graham from comment #1)
> Can you reproduce this in Plasma 6.1.4 or later? I cannot reproduce it in
> current git master, which will become Plasma 6.2 in two months.

I can still reproduce in 6.1.4. On reboot always, but only when I have 1 tile. I also found a new way to reproduce this
1. Delete all tiles so that you have only 1
2. Add floating tile -> Add Floating Tile button moved to bottom right corner. I guess that's ok
3. Delete the floating tile -> Split buttons appear in the middle, but Add Floating Tile is still stuck in the bottom right corner -> DEFECT
Comment 3 Filip 2024-08-23 16:03:52 UTC
Also, it fails to snap when I have only 1 tile. So please try to repro that as well.
Comment 4 Nate Graham 2024-08-29 23:07:55 UTC
Yup, can confirm that. Thanks a lot.
Comment 5 Nate Graham 2024-08-29 23:12:15 UTC
Something appears to be wrong with the visibility conditions of these buttons in TileDelegate.qml.