Closed Bug 1324264 Opened 8 years ago Closed 6 years ago

Behavior of View/Text Encoding is inconsistent when 3pane Tab is active and messagepane is hidden(when messagepane is hidden, content in id=messagepane should be cleaned up)

Categories

(Thunderbird :: Toolbars and Tabs, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1287336

People

(Reporter: World, Unassigned)

References

Details

+++ This bug was initially created as a clone of Bug #1323377 +++

Behaivior of View/Text Encoding is inconsistent when 3pane Tab is active and messagepane is hidden.
Tested with Thunderbird Daily 53.0a1 (2016-12-17) (32-bit) on Win10.
(Bug #1026989 is already fixed)

[STR]
0. "show startup page" is Off -> about:blank is used when nomail is shown in id=messagepane
1. Open FolderA. messagepane is visible
2. Select mail of charset=EUC-KR and -> mail lis loaded to messagepane -> Text Encoding=EUC-KR
3. Hide messagepane -> URL of document in id=messagepane=about:blank -> Text Encoding is grayed out
4. Select other mail at thread pane(eg. charset=iso-8859-2) -> Text Encoding=EUC-KR
   Text Encoding=EUC-KR is kept when any other mail is selected.
   => user is confused
5. Click other folder and swich mail folder to FolderB
6. Text Encoding is always grayed out regardless of selected mail,
   because nothing is loaded in id=messagepane when messagepane is hidden.
7. Switch folder back to FolderA.
8. Text Encoding is always grayed out regardless of selected mail,
   because nothing is loaded in id=messagepane when messagepane is hidden.

It looks some states exist.
(a) URL=about:blank is set in id=messagepane, but main content is not initialized.
    and mail data is not loaded yet.
    -> Text Encoding is grayed out
(b) URL=about:blank is set in id=messagepane, and main content is initialized,
    and mail data is not loaded yet.
    -> Text Encoding is grayed out
(c) URL=about:blank is set in id=messagepane, and main content is not initialized,
    and mail data is already loaded, and is kept even after messagepane is hiddedn.
    -> Text Encoding is grayed out
(d) URL=about:blank is set in id=messagepane, and main content is initialized,
    and mail data is already loaded, and is kept even after messagepane is hiddedn.
    -> Text Encoding is charset of loaded mail in hidden messagepane

At least state of (d) is better avoided when messagepane is hidden, because it's confusing for user if charset of already loaded message != charset of selected mail at thread pane.
Note:
When state of (d), problem of Bug 1323377 currently occurs.

Difference between (a) and (b) may be (i) "<HTML><HEAD><BODY>... is not created" and (ii) "<HTML><HEAD><BODY>... is created". (IIRC, when checked by DOM Inspector, (i) was observed)

Some bugs mysterious charset phenomenon may be report of error or phenomenon when (a)/(i).
Just after restart of Tb and when messagepane is visible and no mail is shown in id=messagepane, (a)/(i) may occur instead of (b)/(ii).
No longer blocks: 597369
No longer depends on: 1323377
See Also: → 1323377
Summary: Behaibior of View/Text Encoding is inconsistent when 3pane Tab is active and messagepane is hidden → Behaivior of View/Text Encoding is inconsistent when 3pane Tab is active and messagepane is hidden
Summary: Behaivior of View/Text Encoding is inconsistent when 3pane Tab is active and messagepane is hidden → Behavior of View/Text Encoding is inconsistent when 3pane Tab is active and messagepane is hidden
Summary: Behavior of View/Text Encoding is inconsistent when 3pane Tab is active and messagepane is hidden → Behavior of View/Text Encoding is inconsistent when 3pane Tab is active and messagepane is hidden(when messagepane is hidden, content in id=messagepane should be cleaned up)
Two actions are needed to resolve mystery for users and for consistent View/Text Encoding display.
(1) When messagepane is hidden, clean up all content in id=messagepane
(2) While messagepane is hidden, when a messsage is selected at thread pane,
    show message body charset of the selected mail in View/Text Encoding.
See Also: → 74916
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
See also Bug 1309711
You need to log in before you can comment on or make changes to this bug.