Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag and Drop of a file under macOS 14.4.1 gives an exception: Flush is forbidden from target #11214

Open
2 tasks done
Siedlerchr opened this issue Apr 17, 2024 · 2 comments
Open
2 tasks done
Labels
bug Confirmed bugs or reports that are very likely to be bugs os: macOS

Comments

@Siedlerchr
Copy link
Member

Siedlerchr commented Apr 17, 2024

JabRef version

Latest development branch build (please note build date below)

Operating system

macOS

Details on version and operating system

JabRef 5.14-PullRequest11195.69--2024-04-15--26b72db
Mac OS X 14.4.1 aarch64
Java 21.0.2
JavaFX 22+30

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

  1. Start JabRef
  2. Drag a PDF file onto the main table
  3. Get the exception

Note: Dropping onto the entry editor works

Appendix

java.lang.UnsupportedOperationException: Flush is forbidden from target!
	at javafx.graphics@22/com.sun.glass.ui.View$2.flush(View.java:1017)
	at javafx.graphics@22/com.sun.javafx.tk.quantum.QuantumClipboard.flush(QuantumClipboard.java:275)
	at javafx.graphics@22/com.sun.javafx.tk.quantum.QuantumToolkit.startDrag(QuantumToolkit.java:1326)
	at javafx.graphics@22/javafx.scene.Scene$DnDGesture.dragDetectedProcessed(Scene.java:3169)
	at javafx.graphics@22/javafx.scene.Scene$DnDGesture.process(Scene.java:3238)
	at javafx.graphics@22/javafx.scene.Scene$MouseHandler.process(Scene.java:4001)
	at javafx.graphics@22/javafx.scene.Scene.processMouseEvent(Scene.java:1891)
	at javafx.graphics@22/javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2709)
	at javafx.graphics@22/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:411)
	at javafx.graphics@22/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:301)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at javafx.graphics@22/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:450)
	at javafx.graphics@22/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:430)
	at javafx.graphics@22/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:449)
	at javafx.graphics@22/com.sun.glass.ui.View.handleMouseEvent(View.java:551)
	at javafx.graphics@22/com.sun.glass.ui.View.notifyMouse(View.java:937)
	at javafx.graphics@22/com.sun.glass.ui.mac.MacView.notifyMouse(MacView.java:127)

@Siedlerchr Siedlerchr added bug Confirmed bugs or reports that are very likely to be bugs os: macOS labels Apr 17, 2024
@koppor
Copy link
Member

koppor commented Apr 17, 2024

This is a challenge for the javafxreproducer, isn't it?

@Siedlerchr
Copy link
Member Author

Maybe related openjdk/jfx#1371

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs os: macOS
Projects
None yet
Development

No branches or pull requests

2 participants