Skip to content

Selecting a group impacts column width #6690

@mlep

Description

@mlep

JabRef 5.1--2020-07-13--6344401
Linux 4.9.0-12-amd64 amd64
Java 14.0.1

With "all entries" selected in the group panel, column width can be adjusted by grabbing the column separator and moving it sideways. This is the expected behavior.
But after selecting a subgroup and adjusting the width of a column, all the columns except one get squizzed.

Steps to reproduce the ABNORMAL behavior:

  1. select a subgroup
  2. adjust the width of a column.
    ==> on mouse button release, the column continue to get enlarged (or reduced depending on how you adjusted its width). The other columns get squizzed.

Another way to reproduce this bug:

  1. with All entries displayed (selecting the group "all entries" or not), adjust the width of a column (here, it works as expected).
  2. select a subgroup
    ==> the adjusted column starts to get enlarged (or reduced depending on how you adjusted its width). The other columns get squizzed.

Surprising and ... reproducible!

Nothing in the log.

Tip: the bug is absent in JabRef 5.1--2020-05-26--0d7156b, but present in JabRef 5.1--2020-06-09--595f085 .

Supplementary note:
In JabRef 5.1--2020-05-26--0d7156b (I have not tested with the other versions), switching between groups can lead to changes in the width of the columns (this is not systematic, but quite easy to reproduce). Compared to the issue described above, there is no need to change the column width at first. And it is not dynamic (i.e. the width of the columns do not start moving; they change instantaneously when switching between groups). Going back to the initial group does not re-establish the column width.
This may be a different bug, but it looks very related to the issue initially described. Since the initial issue is not present in JabRef 5.1--2020-05-26--0d7156b, it means the situation got worse afterwards.
Reproduced with the file https://github.com/JabRef/jabref/blob/master/src/test/resources/testbib/jabref-authors.bib

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions