You are not logged in.

#1 2024-01-19 13:07:16

sashok_bg
Member
Registered: 2021-01-11
Posts: 14

[SOLVED] Chromium Based Browsers - No File Pick Dialog

Hello,

After last full system upgrade, I no longer can save files in any chrome-like browser since the file-picker dialog does not open.
The same is true for file upload as well.

I have tested:

Brave, Google Chrome and Chromium

My env:

Graphical env: i3 version 4.23 (2023-10-29) using X11
Uname: 6.7.0-arch3-1

I have read the change notes here https://archlinux.org/news/ but I didn't see anything that might be related (besides maybe the d-bus ?)

Here is the relative chromium debug log when I click on a "download" link:

[26041:26041:0119/140514.458116:VERBOSE1:mutable_profile_oauth2_token_service_delegate.cc(288)] MutablePO2TS::RefreshTokenIsAvailable
[26041:26041:0119/140514.458160:VERBOSE1:account_consistency_mode_manager.cc(210)] Desktop Identity Consistency disabled as sign-in to Chrome is not allowed
[27867:1:0119/140514.458088:VERBOSE1:sandbox_linux.cc(79)] Activated seccomp-bpf sandbox for process type: renderer.
[26076:26101:0119/140514.458738:VERBOSE1:network_delegate.cc(35)] NetworkDelegate::NotifyBeforeURLRequest: [url]https://github.com/usebruno/bruno/releases/download/v1.6.1/bruno_1.6.1_x86_64_linux.AppImage[/url]
[26041:26041:0119/140514.460471:VERBOSE1:back_forward_cache_impl.cc(715)] BackForwardCacheImpl::GetCurrentBackForwardCacheEligibility: [url]https://www.google.com/search?q=bruno+download&oq=bruno+download&gs_lcrp=EgZjaHJvbWUqBggAEEUYOzIGCAAQRRg7MgYIARBFGEAyCggCEAAYExgWGB4yCggDEAAYExgWGB4yCggEEAAYExgWGB4yCggFEAAYExgWGB4yCggGEAAYExgWGB4yBggHEEUYPNIBCDMwNDJqMGo3qAIAsAIA&sourceid=chrome&ie=UTF-8[/url] : Yes
[26041:26041:0119/140514.954219:VERBOSE1:mutable_profile_oauth2_token_service_delegate.cc(288)] MutablePO2TS::RefreshTokenIsAvailable
[26041:26041:0119/140514.954252:VERBOSE1:account_consistency_mode_manager.cc(210)] Desktop Identity Consistency disabled as sign-in to Chrome is not allowed
[26076:26101:0119/140514.954863:VERBOSE1:network_delegate.cc(35)] NetworkDelegate::NotifyBeforeURLRequest: [url]https://objects.githubusercontent.com/github-production-release-asset-2e65be/542284380/d795735f-b3ca-4d04-9f54-eb8f323f183a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240119%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240119T130514Z&X-Amz-Expires=300&X-Amz-Signature=4625eb42768e55164621e23ebe9fcc0e93f16ab9e7eccf885692dfa5686380af&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=542284380&response-content-disposition=attachment%3B%20filename%3Dbruno_1.6.1_x86_64_linux.AppImage&response-content-type=application%2Foctet-stream[/url]
[26076:26101:0119/140515.083865:VERBOSE1:url_loader.cc(1794)] Will sniff content for mime type: [url]https://objects.githubusercontent.com/github-production-release-asset-2e65be/542284380/d795735f-b3ca-4d04-9f54-eb8f323f183a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240119%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240119T130514Z&X-Amz-Expires=300&X-Amz-Signature=4625eb42768e55164621e23ebe9fcc0e93f16ab9e7eccf885692dfa5686380af&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=542284380&response-content-disposition=attachment%3B%20filename%3Dbruno_1.6.1_x86_64_linux.AppImage&response-content-type=application%2Foctet-stream[/url]
[26041:26041:0119/140515.090186:VERBOSE1:mutable_profile_oauth2_token_service_delegate.cc(288)] MutablePO2TS::RefreshTokenIsAvailable
[26041:26041:0119/140515.091082:VERBOSE1:profile_manager.cc(1339)] AddKeepAlive(Default, kDownloadInProgress). keep_alives=[kBrowserWindow (1), kDownloadInProgress (1)]
[26041:26058:0119/140515.091726:VERBOSE1:bus.cc(916)] Method call: message_type: MESSAGE_METHOD_CALL
interface: org.freedesktop.DBus
member: GetNameOwner
signature: s

string "org.freedesktop.portal.Desktop"

[26041:26058:0119/140515.154509:VERBOSE1:object_proxy.cc(513)] Signal received: message_type: MESSAGE_SIGNAL
destination: :1.103
path: /org/freedesktop/portal/desktop/request/1_103/handle_1
interface: org.freedesktop.portal.Request
member: Response
sender: :1.11
signature: ua{sv}
serial: 155

uint32_t 2
array [
  dict entry {
    string "uris"
    variant       array [
      ]
  }
]

[26041:26058:0119/140515.159623:VERBOSE1:bus.cc(720)] Requested to remove an unknown filter function: 1 with associated data: 0x1bc005cf9dc0
[26041:26041:0119/140515.159848:VERBOSE1:back_forward_cache_impl.cc(715)] BackForwardCacheImpl::GetCurrentBackForwardCacheEligibility: [url]https://www.google.com/search?q=bruno+download&oq=bruno+download&gs_lcrp=EgZjaHJvbWUqBggAEEUYOzIGCAAQRRg7MgYIARBFGEAyCggCEAAYExgWGB4yCggDEAAYExgWGB4yCggEEAAYExgWGB4yCggFEAAYExgWGB4yCggGEAAYExgWGB4yBggHEEUYPNIBCDMwNDJqMGo3qAIAsAIA&sourceid=chrome&ie=UTF-8[/url] : Yes
[26041:26041:0119/140515.160082:VERBOSE1:profile_manager.cc(1391)] RemoveKeepAlive(Default, kDownloadInProgress). keep_alives=[kBrowserWindow (1)]

Can anyone help me please?
Thank in advance

Last edited by sashok_bg (2024-01-19 15:37:26)

Offline

#2 2024-01-19 13:10:31

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] Chromium Based Browsers - No File Pick Dialog

Markdown is not supported here. Please edit your post and use [ code ] tags (not quote tags) when posting output. This makes the output easier to read and provides a scroll box for long output.

https://wiki.archlinux.org/title/Genera … s_and_code
https://bbs.archlinux.org/help.php#bbcode

Offline

#3 2024-01-19 13:24:07

sashok_bg
Member
Registered: 2021-01-11
Posts: 14

Re: [SOLVED] Chromium Based Browsers - No File Pick Dialog

re-formatted as request

Offline

#4 2024-01-19 13:27:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,857

Re: [SOLVED] Chromium Based Browsers - No File Pick Dialog

How are you starting xorg/i3 ? If via .xinitrc make sure you've followed https://wiki.archlinux.org/title/Xinit#xinitrc

In addition to that most browser are moving to desktop portals for file browser integration, so you proably want to install and setup xdg-desktop-portal-gtk or so: https://wiki.archlinux.org/title/XDG_Desktop_Portal

Offline

#5 2024-01-19 14:07:49

sashok_bg
Member
Registered: 2021-01-11
Posts: 14

Re: [SOLVED] Chromium Based Browsers - No File Pick Dialog

Hello @V1del thank you for your reply.

I am starting my i3 using "startx" and I have a basic .xinitrc.
I had followed the tutorial way back when I have installed my system.

xcompmgr -c &

xbindkeys
xss-lock -n ~/.local/bin/display_dim.sh -- i3lock -n --image /usr/share/backgrounds/archlinux/awesome.png -f &

xautolock -time 15 -locker "systemctl suspend" -detectsleep &

xset s 300 120
xset -b

# Start Window Manager
exec i3

I have also installed "xdg-desktop-portal-gtk-1.15.1-1 is up to date"

Do you have any other suggestions ? Is there a way to test the file picker dialog outside of the browser ?

Thank you once again

Offline

#6 2024-01-19 14:57:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,857

Re: [SOLVED] Chromium Based Browsers - No File Pick Dialog

that .xinitrc is incomplete, note the blue notes https://wiki.archlinux.org/title/Xinit#xinitrc and especially the note regarding the if statements from the default file that properly import your dbus environment.

Offline

#7 2024-01-19 15:34:20

sashok_bg
Member
Registered: 2021-01-11
Posts: 14

Re: [SOLVED] Chromium Based Browsers - No File Pick Dialog

V1del wrote:

that .xinitrc is incomplete, note the blue notes https://wiki.archlinux.org/title/Xinit#xinitrc and especially the note regarding the if statements from the default file that properly import your dbus environment.

Thank mister V1del it turned out this was the issue.

Big thank you !

For any other person experiencing the same issue here is my final .xinitrc:

xcompmgr -c &

xbindkeys
xss-lock -n ~/.local/bin/display_dim.sh -- i3lock -n --image /usr/share/backgrounds/archlinux/awesome.png -f &

xautolock -time 15 -locker "systemctl suspend" -detectsleep &

xset s 300 120
xset -b

# Start Window Manager
exec i3

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

Offline

#8 2024-01-19 15:37:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,857

Re: [SOLVED] Chromium Based Browsers - No File Pick Dialog

That... should not work.

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

needs to be put before the exec i3 line anything after the exec line will generally not be executed.

Offline

#9 2024-01-19 21:50:16

sashok_bg
Member
Registered: 2021-01-11
Posts: 14

Re: [SOLVED] Chromium Based Browsers - No File Pick Dialog

I tried restarting and you are right - it needs to be before

Offline

Board footer

Powered by FluxBB