Skip to content

Fix sidepane opening in the middle of the screen then snapping to configured width #15394

@ThiloteE

Description

@ThiloteE

JabRef version

Latest development branch build (please note build date below)

Operating system

Windows

Details on version and operating system

JabRef 6.0-alpha.147--2026-03-17--d7c59e3 Windows 10 10.0 amd64 Java 25.0.2 JavaFX 26+27

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

Problem:

Watch the videos in #15390 (comment)

The side-pane opens somewhere in the middle of the screen. After the user manually adjusts the width of the sidepane and restarts JabRef, the side-pane still opens in the middle of the screen, but then snaps to the position that it was manually adjusted to in the prior run. While technically sufficient, this snapping behaviour looks a little odd visually and not very professional.

What should be done:

My request would be to find a way to retain current functionality while getting rid of the snapping visually.
Maybe it is possible to render the sidepane only AFTER the snapping has happened and the width has been adjusted?

Additional note:

A fix requires testing on multiple operating systems, as we have made the experience that changes in this part of the code can cause regressions. Contributors could utilize virtual machines or ask the community to help testing.

Metadata

Metadata

Assignees

Type

No fields configured for bug.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions