Bug 482979

Summary: Plasma crashes when moving widgets with a transparent background to second screen
Product: [Plasma] plasmashell Reporter: doucxldh
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bigcotechmail, kde, nate, viniciush.dev
Priority: NOR Keywords: drkonqi
Version: 5.27.5   
Target Milestone: 1.0   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description doucxldh 2024-03-09 13:27:26 UTC
Application: plasmashell (5.27.5)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-17-amd64 x86_64
Windowing System: Wayland
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.5 [CoredumpBackend]

-- Information about the crash:
When moving a widget with a transparent background to the second screen, the desktop goes black, the panel flashes, and then Plasma restarts. After that the widget disappears.

Initially three Quick Starts were successfully moved, then all subsequent move attempts (Quick Start and Disk Activity) failed. (All these widgets have a transparent background)
Movement behaves fine after adjusting their background to default.

将透明背景的小部件移动到第二屏幕时,桌面黑屏,面板闪烁,随后Plasma重启。之后小部件消失。

一开始成功移动了三个“快速启动”,之后所有移动尝试(“快速启动”与“磁盘活动”)都失败。(所有的这些小部件都是背景透明的)
将它们的背景调整为默认后移动行为正常。

The crash can be reproduced every time.

-- Backtrace (Reduced):
#6  0x00007f875c79e1ff in QSGBatchRenderer::Renderer::uploadBatch(QSGBatchRenderer::Batch*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f875c7b0526 in QSGBatchRenderer::Renderer::render() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f875c797f00 in QSGRenderer::renderScene(QSGBindable const&) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f875c7983b3 in QSGRenderer::renderScene(unsigned int) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f875c7fb663 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5


The reporter indicates this bug may be a duplicate of or related to bug 479001.

Reported using DrKonqi
Comment 1 doucxldh 2024-03-09 13:27:28 UTC
Created attachment 166792 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Vinícius 2024-03-10 13:02:29 UTC
Confirmed using plasma 6 in fedora kinoite
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.0-0.rc6.49.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
Memory: 6,6 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82MF
System Version: IdeaPad 3 15ALC6
Comment 3 Nate Graham 2024-03-12 00:02:29 UTC

*** This bug has been marked as a duplicate of bug 479001 ***
Comment 4 Jeff Greene 2024-08-16 04:05:37 UTC
Created attachment 172662 [details]
New crash information added by DrKonqi

plasmashell (5.27.5) using Qt 5.15.8

Crash after dragging widget from primary monitor to second monitor.

-- Backtrace (Reduced):
#4  0x00007fce2b5aa654 in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007fce2b5afc7b in QSGBatchRenderer::Renderer::renderBatches() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fce2b5b05b6 in QSGBatchRenderer::Renderer::render() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fce2b597f00 in QSGRenderer::renderScene(QSGBindable const&) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fce2b5983b3 in QSGRenderer::renderScene(unsigned int) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5