Can't attach/upload files in Google Chrome, recently updated to F31

Recently updated to F31, Plasma desktop.

I can’t upload/attach files in Google Chrome, can’t attach files in Gmail, add photos to FB, etc. other sites won’t work also…

Everything works fine in Firefox.

Any ideas? I’ll be glad to provide any additional information if needed.

If you launch google-chrome from a terminal window, you might get more useful output as to where the error is. It sounds like google-chrome is having problems spawning the KDE file-chooser.

Yeah…

[ugabrovec@office001 ~]$ google-chrome Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs" [10590:10590:1106/201358.024958:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process. [10590:10590:1106/201358.259395:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL co mmand

Still don’t understand anything… :wink:

1 Like

Yeah, none of that relates to your issue.

Try launching it from a terminal like this:

XDG_CURRENT_DESKTOP=KDE google-chrome

I don’t understand…

[ugabrovec@office001 ~]$ XDG_CURRENT_DESKTOP=KDE google-chrome Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs" [13867:13867:1106/202313.602851:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process. [13867:13867:1106/202313.839038:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command [14058:1:1106/202316.403571:ERROR:child_process_sandbox_support_impl_linux.cc(81)] FontService unique font name matching request did not receive a response. [14058:1:1106/202316.404165:ERROR:child_process_sandbox_support_impl_linux.cc(81)] FontService unique font name matching request did not receive a response.

You should be able to ignore those errors. Does kdialog open up when you try to upload a file?

Yeah, I can choose a file and all that, but then it’s all errors… FB, Gmail, second hand sales site etc. It all works fine in Firefox, is this some kind of Chrome issue?

Okay. You will need to use more words about “it’s all errors”. :smiley:

Perhaps sharing some screenshots would be useful here.

1 Like

Hm… Well then:

Gmail gives me this: This file is 0 bytes, so it will not be attached.
FB: Oops Something went wrong. We're working on getting this fixed as soon as we can. You may be able to try again.
And the second hand sales site gives the familiar Chrome error: Aw, snap!

Okay. Just to be sure, the file you’re trying to upload isn’t mangled or empty, is it?

No way, like I said everything works fine in Firefox, I attached the file and sent it already, I posted photos to the sales site and FB groups…

Did it happens in incognito mode as well?

Yeah, same problem…

What version of google-chrome are you using?

And what about disabling chrome extensions?

1 Like

A quick way to do this might be to install chromium (dnf install chromium) and see if it has the same issues, since a fresh install of chromium should not have any extensions and should have the exact same behavior as google-chrome.

1 Like

Chrome is up to date if you’re asking that… :slight_smile:

But I just noticed something else. There were no updates in the notification area for 2 or 3 days now, which I find interesting because usually there’s always, but literally always, updates. So I did sudo dnf upgrade --refresh and there are some updates. Let’s see that first.

1 Like

The same after updates, the same in Chromium and same in Chrome with extensions disabled.

However, this is the error that comes up in logs when it happens:

qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 47884, resource id: 106955014, major code: 18 (ChangeProperty), minor code: 0

And many similar to that before on same occassions, everything works fine in Gnome, though…

I don’t think that’s related. I think that’s just qt5 being super noisy. See: 1497564 – QXcbConnection: XCB error: 2 (BadValue), sequence: 34905, resource id: 16777232, major code: 141 (Unknown), minor code: 3

Do you have any other WMs installed (besides KDE Plasma) where you could switch to temporarily just to see if the behavior persists?

I’m also wondering if this is something that didn’t quite get upgraded properly when you went from Fedora 30 to 31. It might be interesting to see what packages are on your system that don’t have the .fc31 dist tag:

rpm -qa |grep -v "\.fc31" |grep -v "debuginfo" | grep -v "debugsource" |sort -n
2 Likes