Bug 505794 - VLC + Wayland + KWin: Missing window decorations
Summary: VLC + Wayland + KWin: Missing window decorations
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (other bugs)
Version First Reported In: 6.3.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-19 16:23 UTC by Rafael Linux User
Modified: 2025-06-26 22:29 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Linux User 2025-06-19 16:23:40 UTC
Here’s a properly formatted bug report for **bugs.kde.org** based on your issue with VLC on KDE Plasma (Wayland):  

---  

### **SUMMARY**  
VLC (v3.0.21) launches in fullscreen mode by default on KDE Plasma (Wayland), missing window decorations (title bar, minimize/maximize/close buttons). Forcing XWayland (`QT_QPA_PLATFORM=xcb`) or adjusting VLC settings does not resolve the issue.  

### **STEPS TO REPRODUCE**  
1. Launch VLC on KDE Plasma (Wayland session).  
2. Observe: Window opens in fullscreen with no decorations (cannot minimize/resize/close via standard controls).  
3. Attempted fixes (none worked):  
   - Launching with `QT_QPA_PLATFORM=xcb`.  
   - Disabling "Start in fullscreen" in VLC settings.  
   - Changing video output to "X11 (XCB)" in VLC.  
   - Creating KWin window rules to enforce decorations.  

### **OBSERVED RESULT**  
- VLC ignores KDE’s window management rules under Wayland.  
- No title bar or window controls are visible, even when explicitly disabled in fullscreen settings.  

### **EXPECTED RESULT**  
- VLC should respect KDE’s window decorations and open in a resizable window with standard controls (minimize/maximize/close).  

### **SOFTWARE/OS VERSIONS**  
- **Linux/KDE Plasma**: openSUSE Tumbleweed 20250606  
- **KDE Plasma Version**: 6.3.5  
- **KDE Frameworks Version**: 6.14.0  
- **Qt Version**: 6.9.1  
- **Kernel Version**: 6.15.0-1-default (64-bit)  
- **Graphics Platform**: Wayland  
- **VLC Version**: 3.0.21  

### **ADDITIONAL INFORMATION**  
- **Workarounds attempted**:  
  - Running under X11 session works (window decorations appear).  
  - Other Qt/GTK apps (e.g., MPV, QMPlay2) handle Wayland decorations correctly.  
- **Relevant logs**:  
  - No crashes occur (no backtrace needed).
Comment 1 Bug Janitor Service 2025-06-19 16:33:39 UTC Comment hidden (spam)
Comment 2 Rafael Linux User 2025-06-20 12:22:52 UTC Comment hidden (spam)
Comment 3 Nate Graham 2025-06-20 15:10:40 UTC
Is this VLC from system packaging, Flatpak, Snap, or somewhere else?

Does the issue happen in a new clean user account on the same computer?
Comment 4 Rafael Linux User 2025-06-22 19:43:36 UTC
(In reply to Nate Graham from comment #3)
> Is this VLC from system packaging, Flatpak, Snap, or somewhere else?
> 
> Does the issue happen in a new clean user account on the same computer?

VLC installed from openSUSE repos.
I checked it creating a new user. As you supposed, there is not that issue in that user account. 
What's next, please?
Comment 5 Nate Graham 2025-06-25 20:53:47 UTC
Then there's some issue in your normal user account. Can you troubleshoot a bit and see if you can figure out what it is? Window rules and 3rd-party window decoration themes spring to mind as potential causes.
Comment 6 Rafael Linux User 2025-06-26 08:37:40 UTC
I tried in another Tumbleweed (up to date too) with same desktop configuration (Plasma + Wayland) but  distinct graphic card (1st one is AMD second one is NVIDIA) and windows decoration. In this PC,  VLC window  is showed correctly. So I will check if changing windows decoration in my AMD is the issue.

Anyway, I would like to try to delete any config file of VLC first. Where is it located in Linux version installed from repositories?

Thanks
Comment 7 Rafael Linux User 2025-06-26 11:45:38 UTC
I'm sorry, I better ask for config file deletiion at VLC forum, thanks.
Comment 8 Rafael Linux User 2025-06-26 22:29:41 UTC
Fixed
I changed window decoration, but that didn't fixed issue.
Then, I followed next steps (maybe first one not neccesary):
1 - Uninstalled all VLC packages
2 - Removed VLC config folders with rm  -rf  ~/.local/share/vlc ~/.config/vlc
3 - Installed VLC packages again

and now issue is solved.

Thank you very much Nate!!! You gave me the clues to figure it out.