-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Selecting a group impacts column width #6690
Comments
@koppor @Siedlerchr @tobiasdiez |
@mlep Could you make a video using https://www.loom.com/? |
I have tried to narrow it down. Let's play with the file https://github.com/JabRef/jabref/blob/master/src/test/resources/testbib/jabref-authors.bib
If only 2 files (including jabref-authors-mod.bib) are opened, no abnormal behavior. |
Note: the 3 users reporting column shrinkage are using Linux |
I am experiencing the same problem under Windows 10. |
Bug seems depend on the SmartConstrainedResizePolicy. Tried with TableView.CONSTRAINED_RESIZE_POLICY and the bug did not occur. Workaround is by disabling "fit table horizontally on screen". Will think about this one. Maybe this will require a more general solution... |
Had the same bug on
Workaround by disabling the setting under "entry table -> fit table horizontally on screen" worked! |
Note: I am experiencing the same behavior with only 2 opened files, but this is rare (and I have not found how to reproduce it yet) |
The underlying discussion is #967. We seem to have a cool initial implementation done using the In short the idea of #967:
There is a column min column width and thus a min window width. Let this be "minoptx". If window size is increased, column size increases. Maybe, we did not use The idea is refined in #967
|
I cannot reproduce this bug anymore in JabRef 5.3--2021-03-11--8bb7668 (https://builds.jabref.org/master/) Solved by PR #7507? |
Can confirm, I am not able to reproduce on
Behaviour with "Fit table horizontally to screen" option also feels intuitive and normal. |
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:
==> 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:
==> 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
The text was updated successfully, but these errors were encountered: