Closed Bug 1844913 Opened 2 years ago Closed 1 year ago

Message list scrolls when message moved to local folder

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 116
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: clubs, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [closeme 2023-11-25][Supernova3p])

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

Steps to reproduce:

In the BETA - I dragged a message from my inbox to a local folder

Actual results:

the message list displayed for the inbox scrolled to a different point

(this happens almost every time - sometimes no scrolling occurs)

Expected results:

the message list should not scroll

I am not able to reproduce this with 116.0b5 on Mac, with the dragged messages positioned in various areas of the message list.

Which view > layout are you using?
And are you using the classic column list, or the card message list?

Flags: needinfo?(clubs)
See Also: → 1843462
Flags: needinfo?(clubs)
Attached image screenshot after drag

The two screenshots show Thunderbird before and after the drag - the highlighted file in the "before" picture I dragged to a local folder resulting in the message list as it is shown in the "after" - as you can see the newly highlighted message (i.e. the next one in the list) is now near the top of the pane. The scrolling can sometimes move the newly highlighted one completely out of sight. I think it always scrolls to further down the list.

I had noticed in previous builds that sometimes when I dragged the message that was second to top in the list after the drag the top message had been moved 'up' but it didn't seem to be predictable. Now it seems that every drag results in a scroll occurring.

Hope that helps

Component: Untriaged → Folder and Message Lists
Keywords: regression
Whiteboard: [Supernova3p]

How is version 115.2.0 ?

Flags: needinfo?(clubs)

I am now on 118.0b1 - seems to be OK when dragging a message from the middle of the list. I still have the effect though when I drag the second from top message to a local folder, the top message scrolls up and the top visible one is the 'new' second from top.

Not sure if I made this clear earlier, but I work with an "all inbox" view that shows the messages in a number of accounts (you can see that in the screenshot, but I don't think I made it explicit) having just tried it from the inbox of a single account it seems to work OK there - at least I could not reproduce it (it doesn't happen every time anyway). Don't know if that is relevant.

Flags: needinfo?(clubs)

Is "All Inbox" a virtual folder?

Flags: needinfo?(clubs)

"All Inbox" is a saved search folder which searches the inbox for each account - thus enabling me to see all messages in a single folder

Flags: needinfo?(clubs)

Perhaps bug 1845391

Depends on: 1845391

Is your issue better or worse after recent version 115.4.3? Or earlier?
And is mailnews.scroll_to_new_message set to false or true? It will be the default value of true unless you changed it.

Flags: needinfo?(clubs)
Whiteboard: [Supernova3p] → [closeme 2023-11-25][Supernova3p]

We do rely on your feedback to keep the bug report moving forward. Unfortunately this is incomplete without further feedback.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Flags: needinfo?(clubs)
Resolution: --- → INCOMPLETE

Sorry for the delayed response = currently using version 120.0b7 and I am not noticing this happening any longer.

Not sure about mailnews.scroll_to_new_message - how do I see the value?

thanks

(In reply to clubs from comment #12)

Not sure about mailnews.scroll_to_new_message - how do I see the value?

You must use https://support.mozilla.org/en-US/kb/config-editor

Another test, can you still reproduce after setting layout.css.scroll-anchoring.enabled to false?

mailnews.scroll_to_new_message - is set to true

When I set layout.css.scroll-anchoring.enabled to false the first message that I moved to a local folder caused a scroll - but I couldn't then reproduce this - all subsequent moves were OK. I tried setting it back to true - moves OK - then reset to false again - all seemed OK

Been trying a few things and discovered that if I select a message and then drag it to a folder all is well. If I drag another (unselected) message the list scrolls so that the previously selected message is at the top or the bottom of the pane depending on whether the dragged message is abovr or below the selected one. This seems to be consistent behaviour - so is reproducible.

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

Attachment

General

Creator:
Created:
Updated:
Size: