Bug 476644 - Following Panel settings redesign, leaving Panel Edit Mode (not the general Edit Mode) on Wayland makes plasmashell exit with a Wayland protocol error
Summary: Following Panel settings redesign, leaving Panel Edit Mode (not the general E...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: master
Platform: Other Linux
: NOR crash
Target Milestone: 1.0
Assignee: Niccolò Venerandi
URL:
Keywords: qt6, regression, wayland-only
: 476667 476682 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-11-06 21:49 UTC by Nate Graham
Modified: 2023-11-08 21:14 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2023-11-06 21:49:51 UTC
Plasma 6 Wayland built from git master 20 minutes ago. 2 screens:  4K@200% laptop + 1080p@100% desktop; laptop is primary with Plasma Panel on it


STEPS TO REPRODUCE
1. Right-click on empty area of Panel > Enter Edit Mode
2. Click anywhere on the desktop, or click on the close button in the global Edit Mode toolbar that pops down from the top of the screen


OBSERVED RESULT
Plasmashell exits (doesn't crash) with a Wayland protocol error:

> Nov 06 14:41:07 Liberator plasmashell[444997]: org_kde_plasma_shell#48: error 0: org_kde_plasma_shell_surface already exists
> Nov 06 14:41:07 Liberator plasmashell[444997]: The Wayland connection experienced a fatal error: Protocol error
> Nov 06 14:41:07 Liberator plasmashell[444997]: The Wayland connection experienced a fatal error: Protocol error
> Nov 06 14:41:07 Liberator systemd[1713]: plasma-plasmashell.service: Main process exited, code=exited, status=1/FAILURE


EXPECTED RESULT
Plasma exits from Edit Mode gracefully
Comment 1 Prajna Sariputra 2023-11-07 11:09:50 UTC
Can also reproduce with Plasma 6 built from about 10-11 hours ago, with a single 1080p@100% monitor, although my logs look a bit different:

> kwin_wayland_wrapper[1063]: error in client communication (pid 44150)
> plasmashell[44150]: org_kde_plasma_shell#49: error 0: org_kde_plasma_shell_surface already exists
> plasmashell[44150]: qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)
> plasmashell[44150]: The Wayland connection experienced a fatal error: Protocol error
> systemd[1001]: plasma-plasmashell.service: Main process exited, code=exited, status=255/EXCEPTION
> systemd[1001]: plasma-plasmashell.service: Failed with result 'exit-code'.
Comment 2 Patrick Silva 2023-11-07 14:12:40 UTC
*** Bug 476667 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2023-11-08 16:36:50 UTC
Can't reproduce today. Something seems to have fixed it.
Comment 4 Nate Graham 2023-11-08 21:13:48 UTC
*** Bug 476682 has been marked as a duplicate of this bug. ***