Closed
Bug 277406
Opened 20 years ago
Closed 18 years ago
Thunderbird is raised on top (steals focus) after opening Word or Excel attachment
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: lduperval, Assigned: mscott)
References
Details
(Keywords: verified1.8.1.1)
Attachments
(1 file, 1 obsolete file)
|
2.12 KB,
patch
|
mscott
:
review-
|
Details | Diff | Splinter Review |
When I open a Word or Excel attachment with TB 1.0, the Thunderbird window is raised on top and effectively covers the new window. I haven't seen this with other types of attachments (I tested PDF, PowerPoint and OpenOffice.org attachments). I tested it with Outlook and I don't get this behaviour. L
I have the same problem with TB 1.0.2 HU phajdu@citromail.hu
Comment 2•20 years ago
|
||
same problem with trunk build on Win2K3.
Comment 3•20 years ago
|
||
same problem with trunk build on Win2K3.
Comment 4•20 years ago
|
||
The problem seems to be download progress dialog. When tb opens pdf file, file download is done before launching acrobat reader. However, for xls, excel is launched first and the progress dialog gets the focus. It would be more clear if you open big file.
Comment 5•20 years ago
|
||
(In reply to comment #4) > The problem seems to be download progress dialog. When tb opens pdf file, file > download is done before launching acrobat reader. However, for xls, excel is > launched first and the progress dialog gets the focus. It would be more clear if > you open big file. > It was my misunderstanding. The file download is done already when ::ShellExecute() is called. The problem seems to be 'opening dialog'. I could get screenshot of it by putting breakpoint at right next line of ShellExecute() in nsLocalFile::Launch().
Updated•20 years ago
|
Attachment #183246 -
Attachment is obsolete: true
Comment 6•20 years ago
|
||
Finally, after several hours of research, I figured out cause of this bug. :-) Actually, opening dialog is not an issue at all. The specialty of msoffice documents here is that windows shell uses DDE to open them. This bug did not happen when I chagned my system setting not to use DDE. However, unlike thunderbird, mozilla mail works as expected whether shell use DDE or not. I found that the key difference is parent of helper application dialog. In 'show' function of 'nsHelperAppDlg.js.in', thunderbird specifies parent window when it opens the dialog. Due to this fact, the dialog acts like modal dialog - it stays on top of main window. More importantly, it gives focus back to main window when it closed. This intention seems to be ignored when focus is transferred to another application. However, it still in effect and turns out this bug when windows shell uses DDE to open documents. So, a simple way to solve this bug is not to set parent of helper application dialog. I created a patch for this. I understand that we will lose benefit of modal-like behavior of the dialog by applying the patch. However, I believe it is worth to fix this bug considering the fact that msoffice is still major office application on windows platform.
Updated•20 years ago
|
Attachment #183276 -
Flags: review? → review?(mscott)
Comment 8•20 years ago
|
||
*** Bug 257625 has been marked as a duplicate of this bug. ***
Updated•19 years ago
|
Flags: blocking1.8b5?
Comment 10•19 years ago
|
||
Scott, the patch is working fine for me with a current branch build. Could you give r= so that patch could fix this ugly bug for Thunderbird 1.5?
| Assignee | ||
Comment 11•19 years ago
|
||
we wouldn't block the release for this. I'll put it in the milestone bucket for consideration and will re-nominate if I think we need to take it. I"d like to know what the down side to this change is since it also effects Firefox.
Flags: blocking1.8b5? → blocking1.8b5-
Target Milestone: --- → Thunderbird1.1
| Assignee | ||
Comment 12•19 years ago
|
||
too late for 1.5 now and we still don't know what the ramifications are for Firefox which also uses this code.
Target Milestone: Thunderbird1.1 → Thunderbird2.0
Comment 13•19 years ago
|
||
*** Bug 286329 has been marked as a duplicate of this bug. ***
Comment 14•19 years ago
|
||
I have a customer that normally would prefer Firefox instead of Explorer. This bug is really annoying for them, since they download and open Word and Excel files a lot. Can someone confirm if this will be fixed in the next version of Firefox. And eventually when that new release is expected to be finished? The customer is now using Firefox 1.5.0.1 We need this fix for Firefox!!!!!
Comment 15•19 years ago
|
||
This has been awaiting review for over a year now. Perhaps it was forgotten? Asking for blocking-tb2.
Flags: blocking-thunderbird2?
Comment 16•18 years ago
|
||
Looking for resolution to this bug. Some customers are really disliking this FEATURE of Thunderbird Please allow this to be fixed soon
Comment 18•18 years ago
|
||
(In reply to comment #17) > Pretty sure this will be fixed by bug 259816. did this fix it?
Summary: Thunderbird is raised on top after opening Word or Excel attachment → Thunderbird is raised on top (steals focus) after opening Word or Excel attachment
Comment 19•18 years ago
|
||
(In reply to comment #18) >> Pretty sure this will be fixed by bug 259816. > > did this fix it? Yes, this is fixed now. Tested with version 2 beta 1 (20061021).
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 20•18 years ago
|
||
Comment on attachment 183276 [details] [diff] [review] patch to set parent of helper application dialog as null looks like this issue was fixed in another bug so we don't need this now.
Attachment #183276 -
Flags: review?(mscott) → review-
| Assignee | ||
Updated•18 years ago
|
Flags: blocking-thunderbird2? → blocking-thunderbird2-
| Assignee | ||
Updated•18 years ago
|
Keywords: fixed1.8.1.1
Target Milestone: Thunderbird2.0 → ---
Updated•18 years ago
|
Status: RESOLVED → VERIFIED
Keywords: fixed1.8.1.1 → verified1.8.1.1
Comment 21•17 years ago
|
||
this issue is not fixed. Thunderbird version 2.0.0.4 (20070604) (windows) Still doing it, doesn't matter what the attachment is. ZIP, PDF, DOC, * - they all lose focus to the thunderbird main window when an attachement is opened. This has been happening with all versions of Thunderbird. Please re-open this bug and check the status of the focus-grabbing that occurs.
Comment 22•17 years ago
|
||
Sorry, I cannot reproduce this problem with 2.0.0.5 and WinXP. Please give us all necessary version information about Windows, Office and other affected applications.
You need to log in
before you can comment on or make changes to this bug.
Description
•