Closed Bug 450486 Opened 16 years ago Closed 16 years ago

Thunderbird 3: Disk Space limited mails (truncated) have grayed menu "Get Selected Messages"

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 374261

People

(Reporter: henry.nestler, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.6) Gecko/20070730 SUSE/2.0.0.6-25 Firefox/2.0.0.6
Build Identifier: 2008073000, 20080813030431

In Account Settings, Disk Space have enabled "To save disk space, do not Download Messages lager than 50 KB". Have a message in pop3, that is bigger (tested with 150KB and 450KB). The head loads. But the menu "Get Selected Messages" is grayed. Can't get the rest of mail.

The link "mailbox://nobody@local folders/..." in the mail view "Truncated! ... Click here to download the rest of the message." is not usable. It does nothing.


Reproducible: Always

Steps to Reproduce:
1.Have a pop3 account with Disk Space limit 50KB
2.Get a mail that exceeded the limit, for example 150KB
3.Try to get the rest via Link or context menu

Actual Results:  
Menu "Get Selected Messages" is disabled (grayed), the link does nothing


Expected Results:  
Get the rest of truncated mail

Side effect and workaround:
Have any mail from pop3 in inbox, with or without limit, select one mail with right mouse and move (hover) the mouse pointer over the menu "Move to...", "Copy to ..." or other menus with Sub-Entries --> This enables the entry "Get Selected Messages" from gray into black, and the entry is usable now.

System: Linux 64bit

Reference check with old version:
Same mail profile works in version 2.0.0.6 (20070801), the link in same mail there is shorter and starts with "pop://username@pop:995/?uidl=UID..."
(In reply to comment #0)

(1) Link of "Click 'here'"

> Reference check with old version:
> Same mail profile works in version 2.0.0.6 (20070801), the link in same mail
> there is shorter and starts with "pop://username@pop:995/?uidl=UID..."

This kind of link('pop://...') works well with Tb 2.0.0.14, Tb latest-trunk, Sm 1.1.11.

> The link "mailbox://nobody@local folders/..." in the mail view "Truncated! ...
> Click here to download the rest of the message." is not usable.
> It does nothing.

"mailbox://" means mail folder instead of POP3 server, and "@local folders" is pointer to pseudo account of "Local Folders".
Do you enable "Global Inbox" option for your POP3 accounts? What is written in X-Account-Key: and X-UIDL: header of the mail? Is UIDL in "mailbox://nobody@local folders/?uidl=..." same one in X-UIDL: header? Is the UIDL written in popstate.dat file under mail directory for the account?

(2) "Get Selected Messages"
 
I was convinced that "Get Selected Messages" is not for POP3.
> http://www.mozilla.org/mailnews/specs/offline/
"Get Selected Messages" for truncated mail of POP3 worked well before, but doesn't work now because grayed out?
FYI.
"Get Selected Messages" part sounds to be Bug 374261.
> Bug 374261 "get selected messages" is disabled until submenu is opened 
(In replay to comment #1)
(1) Link of "Click 'here'"

> Do you enable "Global Inbox" option for your POP3 accounts?

Yes, I have 5 accounts in the global inbox.

> What is written in...header of the mail?

X-Account-Key: account1
X-UIDL: UID5412-1173099605

> Is the UIDL written in popstate.dat file under mail directory for the account?

Yes, both truncated mails are there. Here the content of popstate.dat:

# POP3 State File
# This is a generated file!  Do not edit.

*pop account-name
b UID5412-1173099605 1218700081
b UID5413-1173099605 1218700081

The full non working Link (Email secret):
mailbox://nobody@local%20folders/Inbox?number=1480191&messageid=48A3E309.4020405%40henry-XXXXXX.arcor.de&uidl=UID5412-1173099605

For accounts with non "Global Inbox", Link is working.
Here is such Link (Email secret):
mailbox://henry-XXXXXX@pop3.arcor.de/Inbox?number=194558&messageid=48A3E684.3000103%40henry-XXXXXX.arcor.de&uidl=UID56-1195863407

(In replay to comment #2)
Yes, it same as in Bug 374261.
For me the Bug 374261 is the only way to get the the rest of truncated mail.
(In replay to comment #2)

Same profile directory (same data) in the older Thunderbird Version 2.0.0.6 (20070801) the Link is seen as:
pop://account-name@pop:995/?uidl=UID5415-1173099605
URL displayed for "Click 'here'" link in same truncated mail(No Global Inbox use)
> Tb 2.0.0.14
>  pop://username@pop:995/?uidl=uuu...
> Tb latest-trunk
>  mailbox://<user_id@<servernme>/Inbox?number=nnnn&messageid=mmmm&uidl=uuuu...
Format of URL of the link look to be changed.

> Global Inbox used, with trunk
> X-Account-Key: account1
> X-UIDL: UID5412-1173099605
> mailbox://nobody@local%20folders/Inbox?number=nnnn&messageid=mmmm&uidl=UID5412-1173099605
"nobody@local%20folders" should be internal path name of account1.

When a truncate mail in Inbox of non-Global-Inbox account is copied to other account's Inbox, "internal path name of account" field was changed to one for account who owns mail folder.
>(In original account's Inbox)
>  mailbox://<user_id_1>@<servernme_1>/Inbox?number=nnnn&messageid=mmmm&uidl=uuuu...
>(Copied to Local Folders's Inbox)
>  mailbox://nobody@local%20folders/Inbox?number=nnnn&messageid=mmmm&uidl=uuuu...
>(Copied to other non-Global-Inbox account's Inbox)
>  mailbox://<user_id_2>@<servernme_2>/Inbox?number=nnnn&messageid=mmmm&uidl=uuuu...

When Global Inbox owner account, or in case of move/copy to other account's mail folder, X-Account-Key: header should be used upon generation of link URI for addtional download of truncated mail.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
To Henry N.(bug opener): I think bug summary is to be changed to appropriate one.
I recommend you to keep bug summary, close this bug as DUP of Bug 374261, and open separate bug for newly found problem around link of "Click 'here'" with Tb Trunk, for ease of tracking/ease of problem analysis/for non-messy&non-confusing bug report. (if you do this, add me to CC:, please)
Please note that "one problem per a bug" is rule of bugzilla.mozilla.org.
(In replay to comment #7)

Have cleared the description in Bug 450649.
This one I will close as double of Bug 374261, as you suggested.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.