Bug 502870

Summary: not working (Could not activate remote peer)
Product: [Applications] Spectacle Reporter: vladazaharova2018
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED NOT A BUG    
Severity: major CC: john.kizer, kde, kdedev, nate
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: old config

Description vladazaharova2018 2025-04-16 05:34:57 UTC
Spectacle refuses to launch under Plasma 6 + Wayland with the error:

    "Для работы этого приложения в графическом окружении Wayland необходим компоновщик рабочего стола KWin. Данное приложение предназначено только для работы в окружении рабочего стола Plasma."

This happens despite:

    Running a full Plasma 6 session

    Using KWin as the Wayland compositor (kwin_wayland confirmed via ps)

    All required environment variables set:
    XDG_CURRENT_DESKTOP=KDE, KDE_FULL_SESSION=true, XDG_SESSION_TYPE=wayland, etc.

    Running from konsole as a regular user

Launching with additional environment override does not help:

env XDG_SESSION_TYPE=wayland XDG_CURRENT_DESKTOP=KDE KDE_FULL_SESSION=true QT_QPA_PLATFORM=wayland spectacle

It still refuses to start and outputs the same error.
Steps to Reproduce:

    Start a Wayland session with Plasma 6 (KDE 6.3.4)
    Confirm kwin_wayland is running
    Run spectacle from terminal
    Observe error about missing KWin

Expected Result:
Spectacle should recognize the active Plasma + Wayland + KWin session and launch normally.

Actual Result:
It refuses to launch, misidentifying the session as unsupported.
OS: CachyOS x86_64
Kernel: Linux 6.14.2-2-cachyos
kde framewotks: 6.12.0
Comment 1 Nate Graham 2025-04-16 15:58:40 UTC
Is this some kind of manually set up system? Generally specifying environment variables manually shouldn't be required.
Comment 2 John Kizer 2025-04-20 21:15:33 UTC
Updating the status since this is pending a reply from the reporter. Thanks!
Comment 3 vladazaharova2018 2025-04-22 08:40:36 UTC
this will help me:
cp ~/.config/kwinrc ~/.config/kwinrc.bak
rm ~/.config/kwinrc
kwin_wayland --replace &
Comment 4 vladazaharova2018 2025-04-22 08:54:16 UTC
Created attachment 180516 [details]
old config

maybe because of:
[Compositing]
Enabled=false
Comment 5 Bug Janitor Service 2025-05-07 03:47:02 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 TraceyC 2025-05-07 19:42:41 UTC
Fixing status