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

            Bug ID: 480066
           Summary: Screen sharing dialog not showing up.
    Classification: Plasma
           Product: xdg-desktop-portal-kde
           Version: 5.92.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: mooodyhun...@outlook.com
                CC: aleix...@kde.org, jgrul...@redhat.com, n...@kde.org
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

When attempting to share a screen, a QML error shows up in the log:

❯ QT_LOGGING_RULES='xdp*.debug=true' /usr/lib/xdg-desktop-portal-kde
xdp-kde: Desktop portal registered successfully
xdp-kde-wayland-integration: Registry initialized
xdp-kde-background: GetAppState called: no parameters
xdp-kde-background: GetAppState called: no parameters
xdp-kde-inhibit: Inhibit called with parameters:
xdp-kde-inhibit:     handle: 
"/org/freedesktop/portal/desktop/request/1_104/desktop_app4065459156"
xdp-kde-inhibit:     app_id:  ""
xdp-kde-inhibit:     window:  "wayland:ff68df90-37ac-48d4-87cd-e3cecdc30572"
xdp-kde-inhibit:     flags:  8
xdp-kde-inhibit:     options:  QMap(("reason", QVariant(QString, "Video chat is
active")))
xdp-kde-background: GetAppState called: no parameters
xdp-kde-screencast: CreateSession called with parameters:
xdp-kde-screencast:     handle: 
"/org/freedesktop/portal/desktop/request/1_104/webrtc_1442434016"
xdp-kde-screencast:     session_handle: 
"/org/freedesktop/portal/desktop/session/1_104/webrtc_session1335367091"
xdp-kde-screencast:     app_id:  ""
xdp-kde-screencast:     options:  QMap()
xdp-kde-screencast: SelectSource called with parameters:
xdp-kde-screencast:     handle: 
"/org/freedesktop/portal/desktop/request/1_104/webrtc1402846859"
xdp-kde-screencast:     session_handle: 
"/org/freedesktop/portal/desktop/session/1_104/webrtc_session1335367091"
xdp-kde-screencast:     app_id:  ""
xdp-kde-screencast:     options:  QMap(("cursor_mode", QVariant(uint,
4))("multiple", QVariant(bool, false))("persist_mode", QVariant(uint,
1))("types", QVariant(uint, 3)))
xdp-kde-screencast: Start called with parameters:
xdp-kde-screencast:     handle: 
"/org/freedesktop/portal/desktop/request/1_104/webrtc555204913"
xdp-kde-screencast:     session_handle: 
"/org/freedesktop/portal/desktop/session/1_104/webrtc_session1335367091"
xdp-kde-screencast:     app_id:  ""
xdp-kde-screencast:     parent_window:  ""
xdp-kde-screencast:     options:  QMap()
KQuickPadding is both anonymous and named
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml" and
"qrc:/qt/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml" and
"qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"qrc:/qt/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml" and
"qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and
"qrc:/qt/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and
"qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and
"qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and
"qrc:/qt/qml/org/kde/desktop/private/CheckIndicator.qml"
qrc:/PipeWireDelegate.qml:18:12: Duplicate signal name: invalid override of
property change signal or superclass signal
qrc:/ScreenChooserDialog.qml:150: TypeError: Cannot call method
'standardButton' of null
file:///usr/lib/qt6/qml/org/kde/plasma/workspace/dialogs/SystemDialog.qml:81:
TypeError: Cannot read property 'minimumWidth' of null
file:///usr/lib/qt6/qml/org/kde/plasma/workspace/dialogs/SystemDialog.qml:80:
TypeError: Cannot read property 'minimumHeight' of null
file:///usr/lib/qt6/qml/org/kde/plasma/workspace/dialogs/SystemDialog.qml:76:
TypeError: Cannot read property 'flags' of null
file:///usr/lib/qt6/qml/org/kde/plasma/workspace/dialogs/SystemDialog.qml:106:
TypeError: Cannot call method 'standardButton' of null
file:///usr/lib/qt6/qml/org/kde/plasma/workspace/dialogs/SystemDialog.qml:104:
TypeError: Cannot call method 'standardButton' of null
file:///usr/lib/qt6/qml/org/kde/plasma/workspace/dialogs/SystemDialog.qml:50:
TypeError: Cannot read property 'dialogButtonBox' of null
xdp-kde-settings: ReadAll called with parameters:
xdp-kde-settings:     groups:  QList("org.kde.TabletMode")
file:///usr/lib/qt6/qml/org/kde/plasma/workspace/dialogs/SystemDialog.qml:84:
TypeError: Cannot call method 'present' of null 
             contentDialog.item.present()
file:///usr/lib/qt6/qml/org/kde/plasma/workspace/dialogs/SystemDialog.qml:84:
TypeError: Cannot call method 'present' of null
kpipewire_logging: Window not available PipeWireSourceItem(0x5dec6195ed00,
id="pipeWireSourceItem", parent=0x5dec6194e070, geometry=8,8 340x0)
kpipewire_logging: Window not available PipeWireSourceItem(0x5dec6195ed00,
id="pipeWireSourceItem", parent=0x5dec6194e070, geometry=8,8 340x0)
kpipewire_logging: Window not available PipeWireSourceItem(0x5dec6195ed00,
id="pipeWireSourceItem", parent=0x5dec6194e070, geometry=8,8 340x0)
kpipewire_logging: Window not available PipeWireSourceItem(0x5dec6195ed00,
id="pipeWireSourceItem", parent=0x5dec6194e070, geometry=8,8 340x0)
kpipewire_logging: Window not available PipeWireSourceItem(0x5dec6195ed00,
id="pipeWireSourceItem", parent=0x5dec6194e070, geometry=8,8 340x0)


STEPS TO REPRODUCE
1. Use Telegram / OBS / Firefox to share screen in Wayland

OBSERVED RESULT
Nothing "observed", but the journal log is filled with kpipewire_logging:
Window not available PipeWireSourceItem(0x5dec6195ed00,
id="pipeWireSourceItem", parent=0x5dec6194e070, geometry=8,8 340x0)

EXPECTED RESULT
A window selection dialog pops up.

Operating System: Arch Linux 
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.7.0
Kernel Version: 6.7.0-arch3-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × 13th Gen Intel® Core™ i9-13900HX
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: LENOVO
Product Name: 82WK
System Version: Legion Y9000P IRX8

ADDITIONAL INFORMATION
nothing?

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

Reply via email to