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)

NEW
Unassigned

Status

Thunderbird
Toolbars and Tabs
--
minor
10 months ago
10 months ago

People

(Reporter: World, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 months ago
+++ 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).
(Reporter)

Updated

10 months ago
No longer blocks: 597369
No longer depends on: 1323377
See Also: → bug 1323377
(Reporter)

Updated

10 months ago
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
(Reporter)

Updated

10 months ago
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
(Reporter)

Updated

10 months ago
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)
(Reporter)

Comment 1

10 months ago
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.
You need to log in before you can comment on or make changes to this bug.