Bug 450520 - Ushading is not working in breeze theme with borders
Summary: Ushading is not working in breeze theme with borders
Status: RESOLVED DUPLICATE of bug 450582
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (show other bugs)
Version: 5.24.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-18 13:38 UTC by ilkerk
Modified: 2022-09-12 09:50 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ilkerk 2022-02-18 13:38:11 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Install 5.24.1 and goto "Window Decorations". Change "Window border size" to normal or huge (anything other than no border) 
2.  Shade a window and then try to unshade. Observe that unshading does nothing.
3. 

OBSERVED RESULT
Unshading is not working

EXPECTED RESULT
It should unshade the window

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

ADDITIONAL INFORMATION
Comment 1 Shane Richards 2022-02-19 12:45:26 UTC
Same on Neon. 5.24.1 only partially unshades a window with borders by a few pixels. Then have to manually drag window border.
Comment 2 Vladimir Yerilov 2022-02-23 07:52:35 UTC
>anything other than no border

Can only confirm.
Comment 3 cnoss 2022-04-19 15:09:26 UTC
It looks as if the y size is set to 0 (approx.) during shading or unshading.

The bug is still present in kwin-5.24.4, and in 71c93ff6a56eb6b0e4f, and in commit 71c93ff6a56eb6b0e4f with d4068754c9 (cherry picked from 8e05732670) reverted.

So 8e05732670 "x11: Fix shrinking window size after toggling no border ..." is not the problem. Maybe it is not even in kwin?
Comment 4 cnoss 2022-04-19 20:10:53 UTC
As seen in duplicate bug 450582: Reverted commit 733469d4e7648 on top of 71c93ff6a56eb6b in branch Plasma/5.24 - shading and unshading works again.
Comment 5 Luke-Jr 2022-04-27 21:19:15 UTC
(In reply to cnoss from comment #4)
> As seen in duplicate bug 450582: Reverted commit 733469d4e7648 on top of
> 71c93ff6a56eb6b in branch Plasma/5.24 - shading and unshading works again.

Can also confirm this fixes it on top of 5.24.4
Comment 6 Vlad Zahorodnii 2022-09-12 09:50:34 UTC

*** This bug has been marked as a duplicate of bug 450582 ***