Skip to content

Wayland (KDE Plasma): fullScreen=yes ignored unless size, position, and maximize are explicitly set #1297

Description

@akkoxe

Describe the bug

On a Wayland session (KDE Plasma), the fullScreen=yes option under the [win] section is completely ignored at startup, leaving the Linux taskbar visible and running the application in a windowed state.

Surprisingly, it only works if I explicitly override almost every single window parameter (size, position, noBorder, maximize, autoResize). If I comment out or remove even one of these seemingly redundant parameters, the client fails to launch in proper fullscreen.

To Reproduce

  1. Run Looking Glass on Wayland (KDE Plasma).
  2. Set configuration with only [win] and fullScreen=yes.
  3. Observe that it starts windowed with the host's panels visible.

Expected behavior

Setting fullScreen=yes should be sufficient to launch the client in exclusive/borderless fullscreen mode without needing to explicitly define size, position, and maximize parameters.

Configuration file used

This is the only working configuration that successfully forces fullscreen on my setup:

.looking-glass-client.ini

[win]
fullScreen=yes
size=2560x1440
position=0x0
noBorder=yes
maximize=yes
autoResize=no

If I remove or comment out size, position, or maximize, it falls back to windowed mode.

System Information
Looking Glass Version: B7
Host OS: EndeavourOS
Desktop Environment: KDE Plasma 6 (Wayland)
Resolution: 2560x1440

P.S. I don't think this necessarily needs fixing in Looking Glass, as it's highly possible the issue originates from KDE Plasma and Wayland themselves. However, if that's the case, this workaround should probably be added to the documentation, because a single fullscreen flag doesn't work on this setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions