Icedove: depending on font size, message list doesn't go/show the bottom message in both "Compact" and "Default" view densities
Affected revisions/versions
115.8.1 (package version: 1:115.8.1+build1-0ubuntu0.22.04.1+11.0trisquel21)
Steps to reproduce
- Do one of the following methods:
- From Trisquel's start menu:
- Trisquel's start menu > System > Preferences > Visual and Behavior > Appearance.
- Fonts tab.
- Applications font.
- Change the size to "24".
- Run
mate-appearance-properties
and steps 2 to 4 from the first method. - From
dconf-editor
:- Edit
/org/mate/desktop/interface/font-name
. - Change it according to step 4 of the first method.
- Edit
- From Trisquel's start menu:
- View > Density.
- Try to scroll, go to, open/enter or click any message near the bottom, both using mouse and keyboard. The following image was taken after using the End key.
Current behavior
- "Compact" view density:
- Any visibility, overflow or scroll is limited to messages not in the bottom. Notice that in the image from step 3, after using the End key, the messages in view are not those from the bottom, the scroll bar shows that there are more messages after the current view, but the bottom message is selected anyways because the dark blue background is not visible.
- Opening/entering messages at the bottom works so long as you use only the keyboard, but you won't see any change in the list due to the item above.
- Using the mouse to click on any message affected by the issue causes the list to scroll upwards to a range which doesn't have the selected message, while keeping the selection for further navigation using the keyboard. After step 3, I used the mouse to click on the message with "Pale Moon" subject from image at step 3, which caused the scroll that led to the following image.
- "Default" view density:
- Using the End key as seen from step 3 also causes the scroll bar and message list go to an incorrect range before the bottom message, while still selecting that message, just like in "Compact" view density.
- You can use the mouse scroll to reach the last message in the list.
- You can click on any message in the list in order to select it and the scroll bar and view will only move slightly in order to center the view on the selection, that is, it won't jump to a range that doesn't have the selected message.
Expected behavior
- Mouse and keyboard should have the same effect, and visibility shouldn't be affected.
Workaround
View > Density > Relaxed.
Other tests
- With
/org/mate/desktop/interface/font-name
set to "24" and "Font size" from Icedove's menu set to the maximum (30px), the problem persists. - With
/org/mate/desktop/interface/font-name
set to default ("9") and "Font size" from Icedove's menu set to the maximum (30px), the problem still persists and also makes other programs, not Icedove, have small text. Besides, due to subnormal sight of this user, anything on a screen with fonts smaller than 24pt in high DPI screens is next to unreadable. - With
/org/mate/desktop/interface/font-name
set to default ("9") and "Font size" from Icedove's menu set to 24px, only the "Compact" view density presents the issue, with a slight change of behavior:- You can use the mouse scroll to reach the last message in the list.
- You can click on any message in the list in order to select it and the scroll bar and view will only move slightly in order to center the view on the selection, that is, it won't jump to a range that doesn't have the selected message.
- Any font size in Icedove > Edit > Settings > General > Fonts & Colors > Advanced is ignored, this is known because in most of the tests so far, the size was set to "24" to places that accept a size in that settings dialog.
- With
/org/mate/desktop/interface/font-name
set to the default ("9") and "Font size" from Icedove's menu set to the default of 12px, the issue is not reproducible. - With
/org/mate/desktop/interface/font-name
set to "24" and "Font size" from Icedove's menu set to 24px, only the "Compact" view density presents the issue, with a slight change of behavior:- You can use the mouse scroll to reach the last message in the list.
- You can click on any message in the list in order to select it and the scroll bar and view will only move slightly in order to center the view on the selection, that is, it won't jump to a range that doesn't have the selected message.
- Assuming that order matters, with "Font size" from Icedove's menu set to the maximum (30px) and with
/org/mate/desktop/interface/font-name
set to "24", in this order, all the problems still persist. - Assuming that order matters, with "Font size" from Icedove's menu set to the maximum (30px) and with
/org/mate/desktop/interface/font-name
set to default ("9"), in this order, all the problems still persist. - Assuming that order matters, with "Font size" from Icedove's menu set to 24px and with
/org/mate/desktop/interface/font-name
set to default ("9"), in this order, only the "Compact" view density presents the issue, with a slight change of behavior:- You can use the mouse scroll to reach the last message in the list.
- You can click on any message in the list in order to select it and the scroll bar and view will only move slightly in order to center the view on the selection, that is, it won't jump to a range that doesn't have the selected message.
- With
/org/mate/desktop/interface/font-name
set to "24" and by restarting Icedove (notice that the number next to "Font size" from Icedove's menu changes to 32px), the problem persists. - With
/org/mate/desktop/interface/font-name
set to the default ("9") and by restarting Icedove (notice that the number next to "Font size" from Icedove's menu changes to 12px), the issue is not reproducible. - Assuming that the message panel at the bottom from View > Layout might produce a different behavior, have it enabled, set
/org/mate/desktop/interface/font-name
to "24" and restart Icedove (notice that the number next to "Font size" from Icedove's menu changes to 32px), as a result the problem persists. - Assuming that the message panel at the bottom from View > Layout might produce a different behavior, have it enabled, set
/org/mate/desktop/interface/font-name
to its default ("9") and restart Icedove (notice that the number next to "Font size" from Icedove's menu changes to 12px), as a result the issue is not reproducible.
Suggestions for investigation and possible causes
- The scripts that are run after attribute changes of
tbody[is="tree-view-table-body"]
. - How Icedove calculates the client height in the overall scroll area vs. the new set of rows that should be displayed.
- Find a way for the calculations from the previous item to take into account the user's choice of font and size.
- This issue might be related to how the DPI settings are applied to the screen that the user has.
- Set the "Relaxed" view density as the default.