Skip to content
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

Column width cannot be changed #10516

Open
2 tasks done
AEgit opened this issue Oct 17, 2023 · 7 comments
Open
2 tasks done

Column width cannot be changed #10516

AEgit opened this issue Oct 17, 2023 · 7 comments
Labels
component: maintable [outdated] type: bug Confirmed bugs or reports that are very likely to be bugs

Comments

@AEgit
Copy link

AEgit commented Oct 17, 2023

JabRef version

Latest development branch build (please note build date below)

Operating system

Windows

Details on version and operating system

Windows 10

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

JabRef 5.11--2023-10-17--8ede31a
Windows 10 10.0 amd64
Java 21-internal
JavaFX 20.0.2+3

  1. Open a JabRef database
  2. Try to modify the column widths in the main table view by trying to drag'n'drop the respective column boundaries
  3. Nothing happens - you cannot change the column width

This is the main issue. The following observations appear linked, but are probably less problematic for the user (?).

Additional observations:
4. If you resize then your JabRef window (e.g., make it take up less space on your desktop), the column widths will resize as well
5. But if you bring JabRef back to its original (larger) window size, the column widths will stay resized to the level they were at step (4)
6. Given that you face the issue described in steps (1)-(3) you cannot manually change the column sizes yourself

Furthermore note:
7. If you swap in main table view to another JabRef database and then to the one you had been working before, the column widths are again resized to what they were at step (3)

@Siedlerchr
Copy link
Member

I think I know where your problem is:
Disable "Fit table horizontally on the screen" (Default value is of in newer versions but was on in earlier)
grafik

@AEgit
Copy link
Author

AEgit commented Oct 17, 2023

Cheers, and sorry for the unnecessary bug report. I hadn't checked the recent development in the dev version in a while and had missed this change. Thanks for quickly pointing me into the right direction!

As for the steps (4) to (7): Is that the intended behaviour with "Fit table horizontally on the screen" turned on? If yes, then this issue can be closed.

@Siedlerchr
Copy link
Member

Yes, as the name implies "Fit table horizontally on the screen" will automatically calculate the column size based on the window size
Not sure about step 7, but I think this is a consequence that when you "reactivate" the other library, the size calculations triggered again.

However, as this Feature is toggled off by default I would not spend too much time thinking about this

@ThiloteE
Copy link
Member

Only resetting the preferences will give you the "real" new experience of newer versions of JabRef.

@AEgit
Copy link
Author

AEgit commented Oct 17, 2023

Cheers and thanks again for the quick help!

@koppor
Copy link
Member

koppor commented Oct 24, 2023

Note that we wanted to add a better heuristics at #7181.

Maybe it's time to work on this again, because there are also updates at JavaFX -- https://bugs.openjdk.org/browse/JDK-8293119

@tobiasdiez
Copy link
Member

This was definitely working at some point even with "fit table horizontally on screen" activated. Thus reopening.

@tobiasdiez tobiasdiez reopened this Aug 20, 2024
@tobiasdiez tobiasdiez added [outdated] type: bug Confirmed bugs or reports that are very likely to be bugs component: maintable labels Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: maintable [outdated] type: bug Confirmed bugs or reports that are very likely to be bugs
Projects
None yet
Development

No branches or pull requests

5 participants