Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 2.11.0, 2.11.1, 2.11.1.1, 2.11.2
-
Fix Version/s: None
-
Component/s: gui
-
Labels:
-
Environment:Jalview Version: 2.11.1.1
Jalview Installation: Source git-commit:d7f65ab5a [bug/JAL-3509hideResnum]
Build Date: 18:01:01 03 August 2020
Java version: 11.0.8
amd64 Linux 5.4.0-42-generic
LookAndFeel: Metal (javax.swing.plaf.metal.MetalLookAndFeel)
Java home: /usr/lib/jvm/java-11-openjdk-amd64
(4k monitor)Jalview Version: 2.11.1.1 Jalview Installation: Source git-commit:d7f65ab5a [bug/ JAL-3509 hideResnum] Build Date: 18:01:01 03 August 2020 Java version: 11.0.8 amd64 Linux 5.4.0-42-generic LookAndFeel: Metal (javax.swing.plaf.metal.MetalLookAndFeel) Java home: /usr/lib/jvm/java-11-openjdk-amd64 (4k monitor)
Description
When Jalview runs in a HiDPI upscaled mode, dragging and dropping an alignment file onto an existing alignment window seems to expect the alignment window in a size and position as if no upscaling had been applied.
This means the alignment file will most often appear in a new alignment window when it looks like it was dropped onto an existing one, and can be appended to an existing alignment window when it looks like it should open a new one.
It looks like the calculation for when dropping a file onto an existing window needs to know about the scaling factor being applied. This will only be happening in Linux since the HiDPI upscaling for Windows and macOS are already dealt with by the JRE and OS (though this will be tested).
This means the alignment file will most often appear in a new alignment window when it looks like it was dropped onto an existing one, and can be appended to an existing alignment window when it looks like it should open a new one.
It looks like the calculation for when dropping a file onto an existing window needs to know about the scaling factor being applied. This will only be happening in Linux since the HiDPI upscaling for Windows and macOS are already dealt with by the JRE and OS (though this will be tested).
Attachments
Issue Links
- related with
-
JAL-3609 Jalview 2.11.1.0 does not support scaling on а high-DPI (UHD) display
- Closed