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

--- Comment #9 from Greg Lamberson <[email protected]> ---
Additional threading issue found during testing:                                

  Portal emits SelectionTransfer signal from wrong thread, preventing D-Bus
signal delivery.                                 

  Journal log shows:                                                            
    QtDBus: cannot relay signals from parent DesktopPortal(0x564f27001aa0 "")   
    unless they are emitted in the object's thread QThread(0x564f23a4f1d0 "Qt
mainThread").                                  
    Current thread is QThread(0x564f2592f270 "").                               

  This occurs when SetSelection is called and portal needs to request data from
the application. The signal is emitted from a worker thread instead of the main
thread, so D-Bus blocks it.                                                     

  Result: SelectionWrite never receives the signal, portal times out after 1
second, clipboard operation fails.              

  This appears related to the same threading architecture issue. Fixing the
threading model for clipboard operations may resolve both issues.

LEt me know if you would like any further information.

Thanks,
Greg Lamberosn

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

Reply via email to