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

            Bug ID: 514706
           Summary: Crash after adjusting the quick tiling by dragging -
                    unnecessary number of decimal places for dimensions
    Classification: Plasma
           Product: kwin
      Version First 6.5.5
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Custom Tiling
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

***
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

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY

After adding 6 quick tile with all custom (ie not loading a layout) to the
custom quick tiles, prevented the editor from opening. Super+T would simply
flash windows and then fail to load the editor. 

Removing all the settings from the kwinrc file and a reboot seemed to fix it. 

I noticed that when adjusting the quicktiling orientation, the "width" and
"height" are using an untruncated float, resulting in an unnecessary number of
decimal places used for these dimensions. Unsure if this is causing issues, but
if the rounding isn't controlled, there might be overlapping in positions with
a large number of 'randomly' placed tiles.

Eg. here's a layout with a default loaded, and then manually adjusted width:
```
tiles={"layoutDirection":"horizontal","tiles":[{"layoutDirection":"vertical","tiles":[{"height":0.5},{"height":0.5}],"width":0.43359375},{"width":0.56640625}]}
```                   

STEPS TO REPRODUCE
1. Super + T - add 6 plus custom quick tile locations by splitting vertically
or horizontally. On a dual monitor setup I had 6 on each screen
2. Adjust the orientation so that they are "messy" all with different
dimensions. 
3. After exiting the editor, and then editing the tiles by dragging the window
edges resulted in the editor no longer toggling.

OBSERVED RESULT
A flickering of open windows, and then nothing. The custom quick tile editor no
longer opened.

EXPECTED RESULT
Any custom tiling orientation should be safely saved and reloaded, without
prohibiting the editor from opening. A limit on the number of tiles would be
reasonable for stability.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.18.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 2060

ADDITIONAL INFORMATION

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

Reply via email to