When I use Firefox I can browser my Google drive that is configured in KDE’s Online-accounts. But I cannot save files to it. It’s extremely annoying because, rarely, it works but 99,9% of the times it doesn’t. I wonder if anyone managed to solve this problem and have consistent behavior.
what version of firefox do you have.
I have firefox for opensuse (opensuse tumbleweed) 110.0.1
working fine.
i use Google drive all the time using Firefox and have not had an issue
that said
there is a 5 million, hard coded, in file limit .
unless that was a April 1 joke
When trying to save files, watch the status bar in bottom left corner of the browsers. Google uses a lot of different 3rd party usercontent cookies that could be getting blocked by ETP. You may need to tweak your privacy settings to allow them.
I did. And I also started a “troubleshoot” session.
I also used Chrome. Still didn’t work. I am pretty much convinced that this is KDE related and not Firefox/Chrome one.
Any ideas where to look at?
I run KDE an use firefox with “no-script” and " privacy badger " installed and there is no issue
Have you by chance hit the 15 gig free storage limit
No.
This is not a FF issue, or a Google Drive issue.
In the very rare occasion a file is saved, you can see the notification. But I don’t see it. It’s like something is broken, but I cannot find what.
I will try again and post the logs from journalctl
We have a number of desktops and laptops running TW with KDE / Plasma (exclusively our GUI of choice) … we access Drive almost daily, with zero issues using FF, Chrome, Opera, Edge, and Brave.
Show what happens when you try to save.
I just saved to GD. see screenshot
Operating System: openSUSE Tumbleweed 20230404
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.9-1-default (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5825U with Radeon Graphics
Memory: 62.1 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: HP
Product Name: HP ProBook 455 15.6 inch G9 Notebook PC
Did you try Firefox in Safe Mode? Diagnose Firefox issues using Troubleshoot Mode | Firefox Help
If you feel it’s a KDE issue can you provide proof?
I’m puzzled by OP’s question, too. But I guess the issue is not firefox, but KDE’s integration of GDrive via Online Accounts.
I added my Google account to KDE Online Accounts, authenticated, etc.
But there is nothing really happening, no KIO GDrive kicking it, no access via Dolphin.
Tried the same on F37 KDE spin and it works out of the box there.
So a simple zypper in kio-gdrive
might do the trick.
Actually, there is still no notification that GDrive got mounted, but at least you can access it by typing the location ‘gdrive:/’ into Dolphin.
I am not sure this is a KDE issue. It could be a portal issue as well. Because if I use Okular for example, I can save PDF documents to drive.
Definitely not a Firefox only issue.
Bellow is the journal when I tried to save a PDF directly from FF to my Gdrive.
Apr 09 20:50:40 desktop.example.com plasmashell[2090]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x55c1bfc13140) QQmlContext(0x55c1bfa33710) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Apr 09 20:50:40 desktop.example.com plasmashell[2090]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x55c1bfc13140) QQmlContext(0x55c1bfa33710) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Apr 09 20:50:40 desktop.example.com plasmashell[2090]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:106:15: QML MouseEventListener: Binding loop detected for property "height"
Apr 09 20:50:40 desktop.example.com rtkit-daemon[2038]: Supervising 23 threads of 14 processes of 1 users.
Apr 09 20:50:40 desktop.example.com rtkit-daemon[2038]: Supervising 23 threads of 14 processes of 1 users.
Apr 09 20:50:44 desktop.example.com dbus-daemon[1126]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.1258' (uid=1000 pid=2535 comm="/usr/lib64/firefox/firefox" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
Apr 09 20:50:44 desktop.example.com xdg-desktop-portal-kde[2113]: kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/user/downloads/3d print/Battery charger - Skadis.stl")
Apr 09 20:50:44 desktop.example.com systemd[1]: Starting Hostname Service...
░░ Subject: A start job for unit systemd-hostnamed.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit systemd-hostnamed.service has begun execution.
░░
░░ The job identifier is 6957.
Apr 09 20:50:44 desktop.example.com dbus-daemon[1126]: [system] Successfully activated service 'org.freedesktop.hostname1'
Apr 09 20:50:44 desktop.example.com systemd[1]: Started Hostname Service.
░░ Subject: A start job for unit systemd-hostnamed.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit systemd-hostnamed.service has finished successfully.
░░
░░ The job identifier is 6957.
Apr 09 20:50:45 desktop.example.com kwin_x11[1989]: kwin_core: XCB error: 152 (BadDamage), sequence: 54768, resource id: 12275879, major code: 143 (DAMAGE), minor code: 3 (Subtract)
Apr 09 20:50:47 desktop.example.com dbus-daemon[1839]: [session uid=1000 pid=1839] Activating service name='com.google.code.AccountsSSO.SingleSignOn' requested by ':1.694' (uid=1000 pid=19144 comm="/usr/libexec/kf5/kioslave5 /usr/lib64/qt5/plugins/" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
Apr 09 20:50:47 desktop.example.com dbus-daemon[1839]: [session uid=1000 pid=1839] Successfully activated service 'com.google.code.AccountsSSO.SingleSignOn'
Apr 09 20:50:47 desktop.example.com signond[19156]: Cannot use KWindowSystem without a QGuiApplication
Apr 09 20:50:51 desktop.example.com rtkit-daemon[2038]: Supervising 23 threads of 14 processes of 1 users.
Apr 09 20:50:51 desktop.example.com rtkit-daemon[2038]: Supervising 23 threads of 14 processes of 1 users.
Apr 09 20:51:14 desktop.example.com systemd[1]: systemd-hostnamed.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit systemd-hostnamed.service has successfully entered the 'dead' state.
Apr 09 20:51:21 desktop.example.com kioslave5[19223]: kf5.kio.gdrive: Failed to resolve "/Google - Personal/Εκθεση βιβλιου_Αφίσα.pdf"
Apr 09 20:51:22 desktop.example.com kioslave5[19132]: kf.coreaddons: "Could not load plugin from /usr/lib64/qt5/plugins/gsthumbnail.so: Failed to extract plugin meta data from '/usr/lib64/qt5/plugins/gsthumbnail.so'"
Apr 09 20:51:22 desktop.example.com kioslave5[19223]: kf5.kio.gdrive: Failed to resolve "/Google - Personal/Εκθεση βιβλιου_Αφίσα.pdf"
Apr 09 20:51:22 desktop.example.com dbus-daemon[1839]: [session uid=1000 pid=1839] Activating via systemd: service name='org.kde.KIOFuse' unit='kio-fuse.service' requested by ':1.26' (uid=1000 pid=2113 comm="/usr/libexec/xdg-desktop-portal-kde" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
Apr 09 20:51:22 desktop.example.com systemd[1810]: Starting Fuse interface for KIO...
░░ Subject: A start job for unit UNIT has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has begun execution.
░░
░░ The job identifier is 490.
Apr 09 20:51:22 desktop.example.com dbus-daemon[1839]: [session uid=1000 pid=1839] Successfully activated service 'org.kde.KIOFuse'
Apr 09 20:51:22 desktop.example.com xdg-desktop-portal-kde[2113]: FUSE request failed: QDBusError("org.kde.KIOFuse.VFS.Error.SchemeNotSupported", "KIOFuse does not suport mounting of URLs with a scheme of gdrive")
Apr 09 20:51:22 desktop.example.com systemd[1810]: Started Fuse interface for KIO.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 490.
As I said, I am suspecting the portals. Maybe I found a bug.
Hm, I still do not know how you try to save from Firefox to Google Drive.
Are you using Firefox’s Save as dialogue? This one does not show GDrive locations.
Okular does.
The difference is that Okular is using KDE’s open/save dialogue whereas Firefox seems to come with its own.
Or are you trying to enter the path gdrive:/path/to/your/files/in/google/drive
from Dolphin into Firefox’s URL?
I use KDE file selectors in both FF and Chrome.
As @jonzn4suse (I suppose) pointed out, it is possible to save files from FF to Google Drive. The logs are directly from my attempt to save something directly from FF (or Chrome, I get the same errors).
For me, this is a bug either on the portal side or in the on-line accounts side.
And I have no clue how to raise this bug report, so I will just open it in openSUSE (although this is happening on my Fedora box as well) and we will see.
It would help if we could see the what’s going on. Run OBS and show the issue.
OBS=Open Broadcast Studio?
Curious what that has to do with saving files to Google Drive using FF ??
I am curious too. Because AFAIK OBS is written in Qt…
Unless @jonzn4suse would like to see if it’s a portal issue, I guess.