Closed
Bug 1897955
Opened 1 year ago
Closed 1 year ago
displayed folder is hidden in foldertree due to miscalculation of bounding rects?
Categories
(Thunderbird :: Folder and Message Lists, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: buecher, Unassigned)
Details
(Whiteboard: [closeme 2025-01-25])
use legacy code or webextention code to set the displayed folder in a mailtab. If the folder is at the top, the folder tree is not scrolled enough and the folder name in the tree is hidden under the new message button.
Something like this solves for my screen resolution:
ensureFolderIsVisible: function (win, folder) {
let folderTree = win.folderTree;
let folderPane = win.folderPane;
let fPane = folderTree.parentElement;
let folderPaneRect = fPane.getBoundingClientRect();
let folderRow = folderPane.getRowForFolder(folder);
let folderRowRect = folderRow.getBoundingClientRect();
// console.log("in scroll", folderTree, folderPane, fPane, folderRowRect, folderPaneRect);
fPane.scrollTop = folderRowRect.y-50;
},
OS: Unspecified → Windows 11
Hardware: Unspecified → x86_64
Version: unspecified → Thunderbird 115
Comment 1•1 year ago
|
||
This is fixed in Daily 128.
Comment 2•1 year ago
|
||
(In reply to John Bieling (:TbSync) from comment #1)
This is fixed in Daily 128.
Klaus, do you agree this is fixed?
Flags: needinfo?(buecher)
Whiteboard: [closeme 2025-01-25]
Updated•1 year ago
|
Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(buecher)
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•