#1142876 jalview: F2 does not toggle cursor mode (sometimes)

Package:
jalview
Source:
jalview
Submitter:
Stepan
Date:
2026-08-05 16:27:01 UTC
Severity:
normal
Tags:
#1142876#5
Date:
2026-07-27 11:10:51 UTC
From:
To:
Dear Maintainer,

F2 is supposed to toggle Cursor mode in Jalview. When I start Jalview
and open an alignment, pressing F2 does nothing and the program stays in
Normal mode. Nor does editing an alignment work: pressing up/down arrow
with a sequence selected does not move it up or down, pressing space
does not insert a gap, etc. However, if I just click around enough, the
program starts working normally: going to Tools -> Preferences -> Web
Services and deleting a service URL makes editing an alignment and
switching to Cursor mode work. So does opening and closing another view
of the alignment.

Here is the info that Jalview prints when started from the command line:

Jalview non-release Version: TEST
Jalview non-release Installation: unknown
Channel: default
Build Date: unknown
Preferences file: unknown
Log file: unknown
Java version: 25.0.4-ea
Java home: /usr/lib/jvm/java-25-openjdk-amd64
Java launch class: jalview.bin.Jalview
Java platform: Linux 7.1.3+deb14-amd64 (amd64)
Java LAF: Metal (javax.swing.plaf.metal.MetalLookAndFeel)
Java Virtual Machine PID: 10070
Using default properties file '/home/stepan/.jalview_nonrelease_properties'
Jalview non-release version: 2.11.5.0+dfsg-2 (deb)
Setting log level to INFO
Setting log level to INFO
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
INFO - Loaded Sequence Ontology from so-xp-simple.obo.zip (107ms)
INFO - Getting messages for lang: en_US
Linux platform only! You may have the following warning next: "WARNING: An illegal reflective access operation has occurred"
This is expected and cannot be avoided, sorry about that.
INFO - JALVIEW: CREATED DESKTOP
WARN - Error when running commands
WARN - When trying to access questionnaire URL https://www.jalview.org/cgi-bin/questionnaire.pl
java.io.IOException: Server returned HTTP response code: 500 for URL: https://www.jalview.org/cgi-bin/questionnaire.pl?checkresponse=1
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1696) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1302) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:223) ~[?:?]
	at jalview.util.HttpUtils.openStream(HttpUtils.java:286) ~[jalview-2.11.5.0.jar:2.11.5.0]
	at jalview.util.HttpUtils.openStream(HttpUtils.java:268) ~[jalview-2.11.5.0.jar:2.11.5.0]
	at jalview.gui.UserQuestionnaireCheck.checkresponse(UserQuestionnaireCheck.java:65) ~[jalview-2.11.5.0.jar:2.11.5.0]
	at jalview.gui.UserQuestionnaireCheck.run(UserQuestionnaireCheck.java:108) ~[jalview-2.11.5.0.jar:2.11.5.0]
	at java.lang.Thread.run(Thread.java:1474) ~[?:?]
Warning - overwriting a sequenceSetId for a viewport!
INFO - ALL CLOSED
INFO - Desktop exiting.
LAUNCHER - JVM exited with value 0