@DFS, @BishWajit, @thyagocl, @datafieber: Looks like this was fixed by upstream by setting gtk-version
internally (https://github.com/mongodb-js/compass/commit/919a84566558f5cc3408238b9005e6fe2687e164). Can you check if mongodb-compass-beta-bin fixes this for you?
Search Criteria
Package Details: mongodb-compass-bin 1.46.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/mongodb-compass-bin.git (read-only, click to copy) |
---|---|
Package Base: | mongodb-compass-bin |
Description: | The official GUI for MongoDB - binary version |
Upstream URL: | https://www.mongodb.com/products/compass |
Keywords: | compass mongodb |
Licenses: | SSPL-1.0 |
Conflicts: | mongodb-compass |
Provides: | mongodb-compass |
Submitter: | dpeukert |
Maintainer: | dpeukert (ogarcia) |
Last Packager: | dpeukert |
Votes: | 3 |
Popularity: | 1.77 |
First Submitted: | 2025-05-12 06:05 (UTC) |
Last Updated: | 2025-06-05 23:35 (UTC) |
Dependencies (26)
- c-ares (c-ares-gitAUR)
- dav1d (dav1d-gitAUR)
- flac (flac-gitAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-qdoledAUR, freetype2-gitAUR, freetype2-qdoled-aw3225qfAUR, freetype2-macosAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- harfbuzz (harfbuzz-gitAUR)
- icu (icu-gitAUR)
- krb5 (krb5-gitAUR)
- libdrm (libdrm-gitAUR)
- libevent (libevent-gitAUR)
- libffi (libffi-gitAUR)
- libjpeg (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR, libjpeg-turbo)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- libsecret
- libwebp (libwebp-gitAUR)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- Show 6 more dependencies...
Required by (0)
Sources (2)
dpeukert commented on 2025-06-17 10:01 (UTC)
thyagocl commented on 2025-06-16 09:53 (UTC)
Following my previous comment, I managed to update the package by running yay --mflags "--nocheck"
. Which is probably not great, but at least it worked.
After that, I did what @datafieber suggested with the flags to force gtk 3 and managed to launch compass without problems, apparently.
Hope this helps anyone else with this issue :)
datafieber commented on 2025-06-12 14:10 (UTC) (edited on 2025-06-12 14:14 (UTC) by datafieber)
running mongodb from terminal with this command works for me! mongodb-compass --gtk-version=3 --ignore-additional-command-line-flags
also with the customized gnome startscript unter /usr/share/applications/mongodb-compass.desktop. change the line with "Exec" to Exec=mongodb-compass --gtk-version=3 --ignore-additional-command-line-flags %U
thyagocl commented on 2025-06-12 09:19 (UTC) (edited on 2025-06-12 09:20 (UTC) by thyagocl)
@dpeukert I had a similar issue with Slack some weeks ago and fixed it by following this: https://aur.archlinux.org/packages/slack-desktop#comment-1024447.
But here, I'm getting the error still in the check for the installation of the update, so I don't know how to work around it. Any ideas? :/
By the way, I tried creating a .config/electron-flags.conf
with the flag, but it didn't seem to change anything. I'm not sure that already affects the update process.
Bishwajit commented on 2025-06-07 08:11 (UTC)
@dpeukert tried on fresh arch install but same issue
Not found any solution till now
dpeukert commented on 2025-06-07 06:51 (UTC)
GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
@DFS, @Bishwajit: This seems to be an upstream Electron/Chromium issue (https://github.com/electron/electron/issues/46538, https://www.electronjs.org/blog/electron-36-0#behavior-changed-gtk-4-is-the-default-when-running-on-gnome), adding --gtk-version=3
to .config/electron-flags.conf
should hopefully fix this (can't verify, as I haven't been able to reproduce this).
Bishwajit commented on 2025-06-07 04:15 (UTC) (edited on 2025-06-07 04:15 (UTC) by Bishwajit)
(process:31704): Gtk-ERROR **: 10:04:05.100: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
==> ERROR: A failure occurred in check().
DFS commented on 2025-06-06 02:20 (UTC)
(process:324634): Gtk-ERROR **: 07:18:44.344: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
leessmin commented on 2025-05-12 09:19 (UTC)
@dpeukert,Thank you for your hard work
dpeukert commented on 2025-05-12 09:17 (UTC)
@leessmin, @h44z: This package now has the debug flag disabled by default.
Pinned Comments
dpeukert commented on 2025-05-12 06:08 (UTC)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/mongodb-compass