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

Error adjusting column width in main window #27

Open
carlosgalaz opened this issue May 6, 2024 · 3 comments
Open

Error adjusting column width in main window #27

carlosgalaz opened this issue May 6, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@carlosgalaz
Copy link

When I try to adjust the position and width of the Read status column, there is a bug that modifies the width of the rest of the columns.

The width of the Read status column cannot be reduced:
image

MacOS Sonoma 14.4.1
Zotero 7.0.0-beta.77+adaa61f2c
Zotero Reading List 1.2.0

@Dominic-DallOsto
Copy link
Owner

Hmm, I don't have this issue on my machine so could I ask for some more details? Can you film a screen recording of you interacting with the status bar. Is this the case only for the Read Status column and not for any others? Do you have any other extensions that also add columns and does the same happen with these?

Thanks!

@Dominic-DallOsto
Copy link
Owner

Dominic-DallOsto commented May 9, 2024

I found that I can only reproduce this bug if I update the extension while Zotero is running. Before the update the column resizing works like normal, but afterwards I have the issue you mentioned.

Is it the same for you?

@Dominic-DallOsto
Copy link
Owner

After some more investigating, I found out that this might be due to a CSS problem:

  1. Add the Read Status column
  2. Restart Zotero
  3. Resizing the column should work normally
  4. Toggle the "Show extension icon instead of "Read Status" as column header" option
  5. The column will be removed and re-added, and now resizing will be broken
  6. Untick the active flex-basis CSS rule for the header div: <div xmlns="http://www.w3.org/1999/xhtml" class="draggable cell reading-list-hotmail-com-readstatus reading-list-hotmail-com-readstatus-item-tree-main-default"> as shown below
  7. Resizing will work normally again

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants