flathub / md.obsidian.Obsidian

https://flathub.org/apps/details/md.obsidian.Obsidian
51 stars 15 forks source link

Obsidian start using old gtk3 file picker after version 1.6.7 #368

Closed mirrav closed 1 week ago

mirrav commented 1 week ago

Description

After an update, Obsidian stopped using the new gtk4 file picker and start using the old one. The gtk3 doesn't let me open vaults in other drives located in /mnt even after using the override command and Flatseal "access to all files" permission.

1.7.4 file picker image

I ran the command "sudo flatpak update --commit=f5c6a27c1bccca117f367281841d6bce55ea168ce3fa77a7f672812432d25fa8 md.obsidian.Obsidian", went back to the 1.6.7 version and everything went back to normal.

1.6.7 image

Best regards, Vitor

Obsidian Version

1.7.4

Sandbox Permissions

[Context]
shared=network;ipc;
sockets=x11;wayland;pulseaudio;ssh-auth;
devices=dri;
filesystems=home;/media;xdg-run/gnupg:ro;/mnt;/run/media;~/.local/share/fonts:ro;
persistent=~/.ssh;

[Environment]
SSH_ASKPASS=/app/libexec/openssh/ssh-askpass
OBSIDIAN_CLEAN_CACHE=1
OBSIDIAN_ENABLE_AUTOSCROLL=0
PATH=/usr/bin:/app/bin:/app/texlive/bin:/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux
XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons:~/.icons
OBSIDIAN_DISABLE_GPU=0
GH_PATH=gh

Hardware Information

07:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c9)

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon Graphics (radeonsi, renoir, LLVM 18.1.8, DRM 3.59, 6.11.6-arch1-1) (0x1638)
    Version: 24.2.6
    Accelerated: yes
    Video memory: 512MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 88 MB, largest block: 88 MB
    VBO free aux. memory - total: 6808 MB, largest block: 6808 MB
    Texture free memory - total: 88 MB, largest block: 88 MB
    Texture free aux. memory - total: 6808 MB, largest block: 6808 MB
    Renderbuffer free memory - total: 88 MB, largest block: 88 MB
    Renderbuffer free aux. memory - total: 6808 MB, largest block: 6808 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 512 MB
    Total available memory: 8152 MB
    Currently available dedicated video memory: 88 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (radeonsi, renoir, LLVM 18.1.8, DRM 3.59, 6.11.6-arch1-1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.2.6-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.2.6-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.2.6-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

System Information

Arch Linux, Gnome 47, Wayland, Flatpak 1.15.10

Logs

Debug: Enabling Wayland backend
Deleting cache directory: /home/vitor/.var/app/md.obsidian.Obsidian/config/obsidian/GPUCache
Debug: Will run Obsidian with the following arguments: --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime
Debug: Additionally, user gave: 
[14:1103/233816.130797:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Arquivo ou diretório inexistente
2024-11-04 02:38:16 Loading main app package /app/resources/obsidian.asar
Ignored: Error: ENOENT: no such file or directory, open '/home/vitor/.var/app/md.obsidian.Obsidian/config/obsidian/obsidian.json'
LaunchProcess: failed to execvp:
xdg-settings
[14:1103/233816.280000:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Arquivo ou diretório inexistente
[14:1103/233816.280045:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Arquivo ou diretório inexistente
2024-11-04 02:38:16 Checking for update using Github
2024-11-04 02:38:16 Success.
2024-11-04 02:38:16 Latest version is 1.7.4
2024-11-04 02:38:16 App is up to date.
joshua-stone commented 1 week ago

@mirrav This doesn't seem to be unique to the flatpak, as the Obsidian 1.7.5 AppImage appears to fall back to the GTK3 file picker while Obsidian 1.6.7 uses the newer Nautilus-based file picker on Gnome 47. I'm going to close this issue since it's not a downstream packaging issue.

Please file a bug report with upstream:

https://forum.obsidian.md/c/bug-reports/7