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

Floating tab that is focussed throws exception when control key is pressed #436

Open
IR0NSIGHT opened this issue Jan 18, 2025 · 0 comments

Comments

@IR0NSIGHT
Copy link

reproduce:
take the tool-settings tab
drag it out to make it float
click into the text of the tool description, so the tab is focussed
press control / try to zoom in / try to press undo-shortkey
non-fatal error dialog pops up

stacktrace:
java.lang.reflect.InaccessibleObjectException: Unable to make protected boolean javax.swing.JComponent.processKeyBinding(javax.swing.KeyStroke,java.awt.event.KeyEvent,int,boolean) accessible: module java.desktop does not "opens javax.swing" to unnamed module @65b104b9
at java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:388)
at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:364)
at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:312)
at java.lang.reflect.Method.checkCanSetAccessible(Method.java:203)
at java.lang.reflect.Method.setAccessible(Method.java:197)
at com.jidesoft.swing.ResizableDialog$1.processKeyBinding(null:-1)
at javax.swing.JComponent.processKeyBindings(JComponent.java:3024)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2924)
at java.awt.Component.processEvent(Component.java:6398)
at java.awt.Container.processEvent(Container.java:2266)

WorldPainter version: 2.21.1 (20230821215634)

java.version: 23.0.1
java.vendor: Oracle Corporation
java.vm.version: 23.0.1+11-39
java.vm.vendor: Oracle Corporation
java.vm.name: Java HotSpot(TM) 64-Bit Server VM
os.name: Windows 10
os.arch: amd64
os.version: 10.0
user.home: C:\Users\Max1M
user.dir: D:\Repos\DemoWPPlugin
user.country: DE
user.language: de

Free memory: 376295424 bytes
Total memory size: 713031680 bytes
Max memory size: 4276092928 bytes

World name: Generated World
Platform: Minecraft 1.15 - 1.16 (org.pepsoft.anvil.1.13)
Seed: -6219928762984501279
Bounds: -2, -2 => 2, 2
Height: 256
Number of tiles: 25
Layers in use: SelectionBlock
Border: null @ 62
Sub surface material: Stone Mix
Water height: 62

Operation: Select Edge Operation
Radius: 103
Brush: Plateau Circle (radius=103, brushShape=CIRCLE, level=0.51)/Sine Circle (radius=9, brushShape=CIRCLE, level=1.0)
Level: 0.51/0.51
Zoom: 0
Hidden layers: [Biome]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant