[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2023-05-19 Thread Julius Künzel
https://bugs.kde.org/show_bug.cgi?id=438608

Julius Künzel  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #23 from Julius Künzel  ---
I tested it again with the latest versions of Kdenlive and xdg-portal-test-kde
and it works with both now. So I am closing it.

BTW the output of `echo $QT_QPA_PLATFORMTHEME` is empty

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2023-05-18 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=438608

--- Comment #22 from Nate Graham  ---
Worth checking for sure. Julius, can you run `echo $QT_QPA_PLATFORMTHEME` in a
terminal window and paste the output?

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2023-05-18 Thread Linus Dierheimer
https://bugs.kde.org/show_bug.cgi?id=438608

--- Comment #21 from Linus Dierheimer  ---
The issue for me was, that QT_QPA_PLATFORMTHEME was set to someting incorrect.
Deleting it fixes this issue.

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2023-05-17 Thread Boba Fit
https://bugs.kde.org/show_bug.cgi?id=438608

Boba Fit  changed:

   What|Removed |Added

 CC|boba_...@protonmail.com |

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2023-05-17 Thread Linus Dierheimer
https://bugs.kde.org/show_bug.cgi?id=438608

Linus Dierheimer  changed:

   What|Removed |Added

Version|5.24.0  |5.27.5

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2023-05-15 Thread Linus Dierheimer
https://bugs.kde.org/show_bug.cgi?id=438608

Linus Dierheimer  changed:

   What|Removed |Added

 CC||li...@dierheimer.de

--- Comment #20 from Linus Dierheimer  ---
I am having the same problem, but my QtProject.conf is normal. Instead i get
spammed with the following logs from xdg-desktop-portal-kde in journald:
QWindow::fromWinId(): platform plugin does not support foreign windows.

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2023-02-17 Thread Boba Fit
https://bugs.kde.org/show_bug.cgi?id=438608

Boba Fit  changed:

   What|Removed |Added

 CC||boba_...@protonmail.com

--- Comment #19 from Boba Fit  ---
Today I was able to find the bug in my system. ~/.conifg/QtProject.conf was
512MB.

```
[FileDialog]
shortcuts=file:, file:///home/bobafit,
file:///home/bobafit/Documents/KDFÃÂÃÂÃÂÃÂÃÂ...[and 500MB more]...ÃÂE/script
```

I just moved this file away and now KDE runs very smoothly again :-)

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2022-04-21 Thread Harald Sitter
https://bugs.kde.org/show_bug.cgi?id=438608

Harald Sitter  changed:

   What|Removed |Added

 CC||sit...@kde.org
 Status|CONFIRMED   |ASSIGNED

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2022-03-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=438608

Nate Graham  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #18 from Nate Graham  ---
In progress with
https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/76

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2022-03-08 Thread Trent M
https://bugs.kde.org/show_bug.cgi?id=438608

Trent M  changed:

   What|Removed |Added

 CC||twilightinz...@gmail.com

--- Comment #17 from Trent M  ---
I reproduced this issue using KDE Neon 5.24 and two specific Flatpak apps: OBS
Studio and youtubedl-gui. OBS Studio when trying to pick a directory to save
recordings in, and youtubedl-gui when trying to pick a directory to save
downloads in.

OBS Studio is especially problematic because this app is published by upstream
directly on Flathub; it's an official package from them.

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2022-02-17 Thread Julius Künzel
https://bugs.kde.org/show_bug.cgi?id=438608

--- Comment #16 from Julius Künzel  ---
Hmm. Very annoying. Any idea what else I can do to debug this?

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2022-02-16 Thread Jan Grulich
https://bugs.kde.org/show_bug.cgi?id=438608

--- Comment #15 from Jan Grulich  ---
(In reply to Julius Künzel from comment #14)
> Just to avoid misunderstandings I like to mention that this happens with
> flatpak-portal-test-kde and the code I posted above only inside a Flatpak,
> while flatpak-portal-test-kde outside a Flatpak does not have this problem

I'm still not able to reproduce, I tried flatpak-portal-test-kde (as flatpak)
and it just works without any issue.

 (In reply to Albert Astals Cid from comment #11)
> I can not reproduce it hanging but i can reproduce QFileDialog::Directory
> not working.
> 
> Run org.kde.gwenview, select 2 images, open the right mouse button menu,
> select "Copy To".
> 
> See how regular gwenview from not flatpak works but the one from flatpak
> doesn't actually let you select a folder.

This is because I can see it calling "FileChooser::SaveFile" instead
"FileChooser::SaveFiles" which should request a directory. This is something I
will have to fix in Qt itself and possibly in xdg-desktop-portal-kde.

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2022-02-09 Thread Julius Künzel
https://bugs.kde.org/show_bug.cgi?id=438608

--- Comment #14 from Julius Künzel  ---
Just to avoid misunderstandings I like to mention that this happens with
flatpak-portal-test-kde and the code I posted above only inside a Flatpak,
while flatpak-portal-test-kde outside a Flatpak does not have this problem

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2022-02-09 Thread Julius Künzel
https://bugs.kde.org/show_bug.cgi?id=438608

Julius Künzel  changed:

   What|Removed |Added

Version|unspecified |5.24.0

--- Comment #13 from Julius Künzel  ---
Still confirmed on 5.24

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2022-01-24 Thread Julius Künzel
https://bugs.kde.org/show_bug.cgi?id=438608

--- Comment #12 from Julius Künzel  ---
For me with Kdenlive and flatpak-portal-test-kde it is a strange hanging,
because it does not real freeze (the cursor continues to flash), but it doesn't
accept any input anymore (not even close) so the only option is to kill the
app.

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2022-01-24 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=438608

--- Comment #11 from Albert Astals Cid  ---
I can not reproduce it hanging but i can reproduce QFileDialog::Directory not
working.

Run org.kde.gwenview, select 2 images, open the right mouse button menu, select
"Copy To".

See how regular gwenview from not flatpak works but the one from flatpak
doesn't actually let you select a folder.

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2022-01-10 Thread Julius Künzel
https://bugs.kde.org/show_bug.cgi?id=438608

--- Comment #10 from Julius Künzel  ---
@Jan In the meanwhile I have a new PC and new Plasma Version and I can still
reproduce this. Have you tested it on X11 or Wayland?

Here is some code to reproduce:

QFileDialog *fileDialog = new QFileDialog(this);
fileDialog->setFileMode(QFileDialog::Directory);

if (fileDialog->exec() == QDialog::Accepted) {
fileDialog->deleteLater();
}

If you change use fileDialog->setFileMode(QFileDialog::ExistingFile) instead it
works perfectly fine.

Here is the output of flatpak-portal-test-kde after you triggered the "Open
(modal)…" button in the "Open Directory" row. If you do the same with the one
in the "FileChooser:" row there is no output:

kf.kio.widgets: Cannot read information about filesystem under path
"/home/julius/.var/app/org.kde.portal-test-kde/cache/thumbnails/"
Qt: Session management error: networkIdsList argument is NULL


Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Kernel Version: 5.15.6-051506-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800HS with Radeon Graphics
Memory: 15.1 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1650 with Max-Q Design/PCIe/SSE2

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2021-09-22 Thread Alexander Ewering
https://bugs.kde.org/show_bug.cgi?id=438608

Alexander Ewering  changed:

   What|Removed |Added

 CC||ae@seven.systems

--- Comment #9 from Alexander Ewering  ---
I have this problem with Kdenlive 21.08.1 when clicking on 'Search recursively'
in the 'Missing clips' dialog upon opening a project. A folder tree dialog is
opened, and the whole application becomes completely unresponsive,
necessitating a kill -9.

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2021-07-02 Thread Julius Künzel
https://bugs.kde.org/show_bug.cgi?id=438608

--- Comment #8 from Julius Künzel  ---
It only happens with directory, with files it works fine

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2021-06-25 Thread Jan Grulich
https://bugs.kde.org/show_bug.cgi?id=438608

--- Comment #7 from Jan Grulich  ---
I cannot reproduce still. Does it happen only when trying to open a directory?
Does it happen when picking a file?

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2021-06-18 Thread Julius Künzel
https://bugs.kde.org/show_bug.cgi?id=438608

--- Comment #6 from Julius Künzel  ---
Created attachment 139492
  --> https://bugs.kde.org/attachment.cgi?id=139492=edit
gdb backtrace

Here is a gdb backtrace. Does it help?

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2021-06-18 Thread Julius Künzel
https://bugs.kde.org/show_bug.cgi?id=438608

--- Comment #5 from Julius Künzel  ---
The Flatpak runtime got the update to 5.83 yesterday so I updated
org.kde.Platform to have the MR you mentioned, but I still have the same
problem (or is it necessary to rebuild the kdenlive Flatpak with the updated
org.kde.Sdk???)

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2021-06-16 Thread Jan Grulich
https://bugs.kde.org/show_bug.cgi?id=438608

--- Comment #4 from Jan Grulich  ---
I cannot reproduce the freeze, possibly because of newer version of
xdg-desktop-portal, no idea. However, in order to have folder selection dialog
to work you need to have
https://invent.kde.org/frameworks/kio/-/merge_requests/445.

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2021-06-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=438608

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2021-06-14 Thread Julius Künzel
https://bugs.kde.org/show_bug.cgi?id=438608

--- Comment #3 from Julius Künzel  ---
(In reply to Julius Künzel from comment #2)
> Btw BUG 43533is exactly about this for Kdenlive

Wrong bug, this is the right one Bug 435225

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2021-06-14 Thread Julius Künzel
https://bugs.kde.org/show_bug.cgi?id=438608

--- Comment #2 from Julius Künzel  ---
How can I check the xdg-desktop-portal?
I compiled flatpak-portal-test-kde just today from source. All other packages
on my machine (flatpak as well) should be up-to-date…

Btw BUG 43533is exactly about this for Kdenlive

Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3
Kernel Version: 5.4.0-74-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2540M CPU @ 2.60GHz
Memory: 7.7 GiB of RAM
Graphics Processor: AMD CAICOS

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2021-06-14 Thread Jan Grulich
https://bugs.kde.org/show_bug.cgi?id=438608

Jan Grulich  changed:

   What|Removed |Added

 CC||jgrul...@redhat.com

--- Comment #1 from Jan Grulich  ---
What is your xdg-desktop-portal version? I believe the issue is that you have
old xdg-desktop-portal version and the dialog is opened inside sandbox instead.
At least I cannot reproduce it here.

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

[xdg-desktop-portal-kde] [Bug 438608] "Open Folder" dialog freezes app

2021-06-14 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=438608

Aleix Pol  changed:

   What|Removed |Added

   Assignee|aleix...@kde.org|jgrul...@redhat.com
Product|Qt/KDE Flatpak Runtime  |xdg-desktop-portal-kde
  Component|general |general

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