Bug 4077 - Lowermost account in folder list displays incorrectly when scrolling down
Summary: Lowermost account in folder list displays incorrectly when scrolling down
Status: NEW
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI/Folder List (show other bugs)
Version: 3.17.1
Hardware: PC Linux
: P3 minor
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2018-08-23 16:53 UTC by George
Modified: 2018-08-23 21:41 UTC (History)
0 users

See Also:


Attachments
screenshot (74.75 KB, image/png)
2018-08-23 16:53 UTC, George
no flags Details
screenshot - expanded and collapsed (37.56 KB, image/png)
2018-08-23 21:41 UTC, Andrej Kacian
no flags Details

Description George 2018-08-23 16:53:33 UTC
Created attachment 1905 [details]
screenshot

Sometimes when I scroll down the list of (partially or fully expanded) accounts and folders I see that the lowermost account (which is collapsed) doesn't show up but instead in it's place a "Trash" folder shows (which is actually the Trash folder of the account above it). I cannot find a pattern and can't say exactly when it happens but it does happens quite often.

Currently I am using version 3.17.0git12 with Breeze theme but it has been an issue for quite a while (more than a month for sure).

STR:

1. Have a few accounts
2. Set layout to "Wide message list"
3. Have the Mailbox (MH) on top of the list and expand some of it
4. Have the lowermost accounts folded
5. Click to select some folder in MH
6. Scroll down the folder list down to the very end.
7. Scroll up and down and click on MH folders until the issue appears

EXPECTED:

The last account (named Xyzzzz on the screenshot) should show as last row.

ACTUAL:

The last row shows the Trash folder of the account above the last one (Abcde on the screenshot). When this happens clicking on that "Trash" restores the correct visibility of the lowermost (Xyzzzz) account. However if I click on another window (outside Claws) it turns into "Trash" again. Clicking back inside Claws doesn't restore the correct view - I need to click explicitly on the "Trash" again so that Xyzzzz shows up properly. Then clicking outside Claws again messes it up and so on. Scrolling a few times up and down and clicking on other folders fixes it, then after some time it appears again (no idea what triggers it though).

NOTE: the slightly yellowish background on the screenshot is due to my custom gtkrc settings. Nothing to do with the bug as the issue existed long before using that.
Comment 1 kardan 2018-08-23 17:45:40 UTC
can't reproduce it. how many times do you need to scroll?
Comment 2 George 2018-08-23 18:22:53 UTC
> can't reproduce it.

It's quite inconsistent indeed. Even for me it either happens several times in a few minutes or doesn't happen in an hour or more.

> how many times do you need to scroll?

Never counted them because I never found a pattern related to number of scrolls. However I suspect it may be related to the position of the horizontal separator line (where one does quick filtering). Perhaps you may try using a height of the folder section similar to that of the screenshot.

I don't know if that may be related in any way but I also have Fonts settings like:

Folder and Message lists: Sans 12
Message: Serif 24
[x] Derive small and bold from Folder and Message lists font
[ ] Use different font for printing
Comment 3 Andrej Kacian 2018-08-23 21:41:59 UTC
Created attachment 1906 [details]
screenshot - expanded and collapsed

Yes, I've started seeing this every now and then in past few weeks (months?). I think it's something wrong with how the widget renders the lowest row, related to whether the row is expanded or collapsed.

On upper part of my attachment, where I have the row collapsed, you can see that upper third of the mangled line is what should be there (folder "G (IMAP)"), while the lower two thirds are replaced by the last row when expanded, as seen in lower portion (folder "Important").

I currently have no idea why it happens.

Note You need to log in before you can comment on or make changes to this bug.