Skip to content

Menus do not properly pop up on Xwayland #12377

@tpaniaki

Description

@tpaniaki

JabRef version

6.0-alpha

Operating system

GNU / Linux

Details on version and operating system

Qtile / wayland (Xwayland)

Checked with the latest development build (copy version output from About dialog)

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

Rough duplicate of #5867.

Jabref is unusable as menus pop up and disappear right away.

Appendix

Qtile log
2025-01-12 01:52:32,633 ERROR wlroots log.py:log_func_callback():L15 [xwayland/xwm.c:1163] Failed to get window property
2025-01-12 01:52:34,202 ERROR wlroots log.py:log_func_callback():L15 [xwayland/xwm.c:1163] Failed to get window property
2025-01-12 01:52:34,203 ERROR wlroots log.py:log_func_callback():L15 [xwayland/xwm.c:1619] xcb error: op ChangeProperty (no minor), code Window (no extension), sequence 1457, value 23068678
2025-01-12 01:52:34,203 ERROR wlroots log.py:log_func_callback():L15 [xwayland/xwm.c:1619] xcb error: op DeleteProperty (no minor), code Window (no extension), sequence 1458, value 23068678
2025-01-12 01:52:34,203 ERROR wlroots log.py:log_func_callback():L15 [xwayland/xwm.c:1619] xcb error: op ChangeProperty (no minor), code Window (no extension), sequence 1459, value 23068678
2025-01-12 01:52:34,203 ERROR wlroots log.py:log_func_callback():L15 [xwayland/xwm.c:1619] xcb error: op DeleteProperty (no minor), code Window (no extension), sequence 1460, value 23068678
2025-01-12 01:52:34,203 ERROR wlroots log.py:log_func_callback():L15 [xwayland/xwm.c:1619] xcb error: op DeleteProperty (no minor), code Window (no extension), sequence 1462, value 23068678
Jabref log
Messages are not initialized before accessing key: Display help on command line options
2025-01-12 01:15:46 [main] org.jabref.logic.search.PostgreServer.<init>()
INFO: Postgres server started, connection port: 37949
2025-01-12 01:15:46 [JavaFX Application Thread] org.jabref.gui.theme.ThemeManager.updateThemeSettings()
INFO: Not updating theme because it hasn't changed
2025-01-12 01:15:46 [JavaFX Application Thread] org.jabref.gui.theme.ThemeManager.updateThemeSettings()
INFO: Theme set to Theme{type=DEFAULT, name=''} with base css StyleSheet{jrt:/org.jabref/org/jabref/gui/Base.css}
2025-01-12 01:15:46 [JavaFX Application Thread] org.jabref.logic.ai.util.MVStoreBase.<init>()
ERROR: An error occurred while opening chat history storage. Chat history of entries and groups will not be stored in the next session.: org.h2.mvstore.MVStoreException: The file is locked: /home/fabien/.local/share/jabref/ai/1/chat-histories.mv [2.3.232/7]
	at org.jabref.merged.module@6.0.15019/org.h2.mvstore.DataUtils.newMVStoreException(Unknown Source)
	at org.jabref.merged.module@6.0.15019/org.h2.mvstore.SingleFileStore.lockFileChannel(Unknown Source)
	at org.jabref.merged.module@6.0.15019/org.h2.mvstore.SingleFileStore.open(Unknown Source)
	at org.jabref.merged.module@6.0.15019/org.h2.mvstore.SingleFileStore.open(Unknown Source)
	at org.jabref.merged.module@6.0.15019/org.h2.mvstore.MVStore.<init>(Unknown Source)
	at org.jabref.merged.module@6.0.15019/org.h2.mvstore.MVStore$Builder.open(Unknown Source)
	at org.jabref@6.0.15019/org.jabref.logic.ai.util.MVStoreBase.<init>(Unknown Source)
	at org.jabref@6.0.15019/org.jabref.logic.ai.chatting.chathistory.storages.MVStoreChatHistoryStorage.<init>(Unknown Source)
	at org.jabref@6.0.15019/org.jabref.logic.ai.AiService.<init>(Unknown Source)
	at org.jabref@6.0.15019/org.jabref.gui.JabRefGUI.initialize(Unknown Source)
	at org.jabref@6.0.15019/org.jabref.gui.JabRefGUI.start(Unknown Source)
	at javafx.graphics@23.0.1/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(Unknown Source)
	at javafx.graphics@23.0.1/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(Unknown Source)
	at javafx.graphics@23.0.1/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at javafx.graphics@23.0.1/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
	at javafx.graphics@23.0.1/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
	at javafx.graphics@23.0.1/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at javafx.graphics@23.0.1/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$10(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
2025-01-12 01:15:46 [JavaFX Application Thread] org.freedesktop.dbus.connections.transports.TransportBuilder.build()
INFO: Using transport dbus-java-transport-native-unixsocket to connect to unix:path=/run/user/1000/bus
2025-01-12 01:15:46 [JavaFX Application Thread] org.jabref.gui.StateManager.setActiveDatabase()
INFO: No open database detected

(JabRef:220223): Gdk-WARNING **: 01:15:46.994: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
2025-01-12 01:15:47 [JavaFX Application Thread] sun.util.logging.internal.LoggingProviderImpl$JULWrapper.log()
WARN: Resource "" not found.
2025-01-12 01:15:48 [JavaFX Application Thread] sun.util.logging.internal.LoggingProviderImpl$JULWrapper.log()
WARN: Resource "" not found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good second issueIssues that involve a tour of two or three interweaved components in JabRefplatform: linux

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions