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

            Bug ID: 502635
           Summary: electron apps cannot save files any more
    Classification: Plasma
           Product: plasmashell
           Version: git-stable-Plasma/6.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: slartibar...@gmail.com
                CC: k...@davidedmundson.co.uk
  Target Milestone: 1.0

I am using 2 flatpak apps, postman 11.40.1 and bruno 2.1.0 as well as
mongodb-compass 1.45.4 or 1.46 installed as rpm

Problem is, that those applications offer export functionality (saving to files
on local storage).
Using mongodb-compass and postman the sympton is:
- use the save/export functionality in the app
- the 'save-as' dialog rendered by plasma appears
- click on 'save' in the file dialog

The file dialog just closes, but the underlying application does not seem the
get the 'notification' that i selected a file for saving. Both apps just return
to the previous 'export/save' functionality where i am supposed to select a
file for saving (with the 'save-as' dialog)
So, this is an endless loop without ever getting my data saved...

No crash reports, no se-linux problems - i just get the feeling that the
'save-as' dialog is .... just closing by pressing the save-button without
triggering any action.

BUT, big but: bruno is an exception:
this flatpak electron app is using the flatpak lib
Freedesktop Platform          org.freedesktop.Platform                    
freedesktop-sdk-23.08.30         23.08               system

and can still successfully save files.
Postman uses:
Freedesktop Platform          org.freedesktop.Platform                    
freedesktop-sdk-24.08.16         24.08               system

so this is maybe a hint to the underlying problem?
Please investigate, as this might severly affect multiple apps (either flatpak
or rpms)

Experiments i did so far:
mongodb-compass is running as Xwayland app, 'xlsclients' shows the app in the
list when started.
I already added these envVars (QT_QPA_PLATFORM=xcb) and (GTK_USE_PORTAL=0)
without any change.
Another try was to start mongodb-compass with
[--ignore-additional-command-line-flags --ozone-platform-hint=auto] to force
native wayland-mode - this also does not help

Any further advice on this?

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

Reply via email to