Open
Bug 689262
Opened 13 years ago
Updated 2 years ago
Make openContentTab re-use an existing tab
Categories
(Thunderbird :: Mail Window Front End, defect)
Thunderbird
Mail Window Front End
Tracking
(Not tracked)
ASSIGNED
People
(Reporter: protz, Assigned: protz)
References
Details
If the mail:3pane that we've found already contains a tab with the target URI, maybe we should just focus it instead of opening a copy of the page. AFAIK, openContentTab is just used for the dictionaries and the privacy policy. Squib, Blake, do you think it would be acceptable to change the default behavior? Otherwise, we could make it optional... thoughts?
Comment 1•13 years ago
|
||
We can't do this from preferences window for example - it is modal on windows, and you can't raise a window from behind a modal to above the modal.
Comment 2•13 years ago
|
||
Adding "switch" to the possible parameters for |where| would probably be ok. That could even be the default. I think I'd prefer that "tab" remain the default, but I have no strong feelings on the matter.
Maybe to avoid duplicated tabs, bot finding already existing windows will be different code.
Also opening messages in a new tab/window may not use openContentTab() mentioned here, but even if not, the function it uses will need similar code to what will be created here.
Flags: needinfo?(acelists)
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•