portal drag and drop helpers and where to put them

2022-04-06 Thread Harald Sitter
https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/212 To get sandboxed apps to work with drag and drop we need to have drags take a roundtrip through xdg-desktop-portal and unfortunately enough that needs to happen by passing an open fd into the relevant API, presumably to demonstrate

Re: portal drag and drop helpers and where to put them

2022-04-11 Thread Albert Astals Cid
El dimecres, 6 d’abril de 2022, a les 13:28:50 (CEST), Harald Sitter va escriure: > https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/212 > > To get sandboxed apps to work with drag and drop we need to have drags > take a roundtrip through xdg-desktop-portal and unfortunately enough

Re: portal drag and drop helpers and where to put them

2022-04-11 Thread Aleix Pol
Maybe the alternative would be to use the kdbusaddons for this? It seems to me like there's no kcoreaddons things being done. To make it more weird and complex, if we think of K*Addons frameworks an extension to their Qt* counterpart, I guess it should be abstracted behind something in QtGui, alth

Re: portal drag and drop helpers and where to put them

2022-04-12 Thread Harald Sitter
On Tue, Apr 12, 2022 at 2:12 AM Aleix Pol wrote: > > Maybe the alternative would be to use the kdbusaddons for this? It > seems to me like there's no kcoreaddons things being done. I've thought about that but ultimately concluded kdbusaddons actually doesn't work for us. The way the technology wo

Re: portal drag and drop helpers and where to put them

2022-04-12 Thread Volker Krause
On Mittwoch, 6. April 2022 13:28:50 CEST Harald Sitter wrote: > https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/212 > > To get sandboxed apps to work with drag and drop we need to have drags > take a roundtrip through xdg-desktop-portal and unfortunately enough > that needs to happe

Re: portal drag and drop helpers and where to put them

2022-04-19 Thread Harald Sitter
On Tue, Apr 12, 2022 at 10:09 PM Volker Krause wrote: > > On Mittwoch, 6. April 2022 13:28:50 CEST Harald Sitter wrote: > > https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/212 > > > > To get sandboxed apps to work with drag and drop we need to have drags > > take a roundtrip through