EMFolderTree: Do not expand to-be-selected folder
I use Fedora Workstation 38 with Evolution 3.48.4-1 and on Fedora 39 with Evolution 3.50.2-1 with EWS to access a Microsoft Exchange Server 2016 mailbox on a notebook with a screen resolution of 1366x768 px. I have several levels of subfolders below the inbox folder. I prefer to keep the inbox folder list collapsed, i.e. only the inbox folder is visible. Clicking a "new mail" notification expands the folder list. I must collapse it again.
Steps:
- a new email arrives in inbox
- the desktop environment displays a popup notification
- you click the notification
- result: the inbox folder is selected and its subfolder list expanded (only 1st level)
Expected behaviour:
The inbox folder is selected, but the subfolder list is not toggled.
Notes:
- There might be workflows that depend on the current behaviour, I do not know. I am fine with marking this as WONTFIX. :)
- If you ignore the notification and switch to Evolution manually, the inbox subfolder list remains collapsed.
- I could not find an option (in GUI oder dconf) to change behaviour.
- I can reproduce the "select inbox and expand subfolder list" behavior without notification popup with:
- in Evolution's menu bar: View -- Go to Folder (Ctrl+G)
- select inbox
- click [Select]
- inbox subfolder list gets expanded