Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#77995 - [obsidian] Does not work with GNOME (GTK 4)

Attached to Project: Community Packages
Opened by Thomas (uhthomas) - Saturday, 25 March 2023, 17:17 GMT
Last edited by Toolybird (Toolybird) - Saturday, 25 March 2023, 21:18 GMT
Task Type Bug Report
Category Packages
Status Waiting on Response
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:

Obsidian doesn't run with GNOME.

```
❯ obsidian
2023-03-25 17:14:43 Loading main app package /usr/lib/obsidian/obsidian.asar

(process:1178489): Gtk-ERROR **: 17:14:43.145: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
zsh: trace trap (core dumped) obsidian
```

Additional info:
* package version(s)

```
❯ paru -Q gnome-shell obsidian
gnome-shell 1:43.3-2
obsidian 1.1.16-1
```

* config and/or log files etc.

N/A

* link to upstream bug report, if any

N/A

Steps to reproduce: Install GNOME and Obsidian. Try to run Obsidian.
This task depends upon

Comment by Toolybird (Toolybird) - Saturday, 25 March 2023, 21:18 GMT
Cannot repro. Runs fine for me in a fresh GNOME install in a VM.

> core dumped

This is a closed source app. But please get a backtrace [1] to see if it sheds any light on where it goes wrong on your system.

[1] https://wiki.archlinux.org/title/Debugging/Getting_traces#Debuginfod
Comment by Jiaye Yang (lumen_yang) - Monday, 27 March 2023, 18:27 GMT
I can confirm this on KDE wayland. Exact same with core dump problem. I'm switching to AUR electron22 package to see if its incompatiabilty with the community package of electron
Comment by Jiaye Yang (lumen_yang) - Monday, 27 March 2023, 18:43 GMT
For people who are using obsidian with the following electron flags

> --enable-features=UseOzonePlatform
> --ozone-platform=wayland
> --enable-wayland-ime

If you experience the same coredump problem. You can try the aur/electron22-bin and launch your app with the following command

> exec /bin/electron22 /usr/lib/obsidian/app.asar --enable-wayland-ime --ozone-platform=wayland "$@"

It helps my obsidian to work. And this is the contribution from q234rty. A fellow archlinux user in telegram group archlinuxcn
Comment by Toolybird (Toolybird) - Monday, 27 March 2023, 21:45 GMT
> using obsidian with the following electron flags

Still no crash for me even with those flags.

Loading...