https://bugs.kde.org/show_bug.cgi?id=485850

            Bug ID: 485850
           Summary: xdg-desktop-portal-kde virtual screens hardcoded to
                    1920x1080
    Classification: Plasma
           Product: xdg-desktop-portal-kde
           Version: 5.27.11
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: paulo.miguel.d...@gmail.com
                CC: aleix...@kde.org, jgrul...@redhat.com, n...@kde.org
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

xdg-desktop-portal-kde as of this writing is hardcoded to only create 1920x1080
virtual screens in wayland.

https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/blob/master/src/screencast.cpp?ref_type=heads#L222

specific line:

stream = WaylandIntegration::startStreamingVirtual(output.uniqueId(), {1920,
1080}, cursorMode);

this might have been fine in the past but we are now using virtual screens more
and more, in my case using META QUEST 3 oculus with immersed in a virtual
desktop streaming scenario.

in gnome, the virtual screens are properly implemented:

https://gitlab.gnome.org/GNOME/mutter/-/commit/74ab2120fa1c79eed0d2fb872430c0b1c774b5a1

could you fix this implementation and allow for multiple resolution when
triggering virtual screen in wayland plasma?
STEPS TO REPRODUCE
1. create virtual screens (with OBS for ex) to trigger the
xdg-desktop-portal-kde interface.
2. the virtual screen will always be create as 1920x1080, doesnt matter what
you try to input as resolution

OBSERVED RESULT
virtual screen always has 1920x1080

EXPECTED RESULT
virtual screen should allow sane default resolutions

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115
Qt Version: 5.15.13

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to