Closed
Bug 899011
Opened 11 years ago
Closed 11 years ago
Browser initialization fails with the explorer shell replacement bbLean installed
Categories
(Firefox :: Shell Integration, defect)
Tracking
()
VERIFIED
FIXED
Firefox 29
People
(Reporter: anton.kochkov, Assigned: ttaubert)
References
()
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
1.58 KB,
patch
|
jimm
:
review+
bajaj
:
approval-mozilla-aurora+
bajaj
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Can't close any tab, if more than one. Nor "close" buttons doesn't work, nor Ctrl-W. So you can close the tab only if use one-tab-per-window.
I've found old, very old, but similar bug https://bugzilla.mozilla.org/show_bug.cgi?id=349145
Reporter | ||
Comment 1•11 years ago
|
||
Also same applicable for "Bookmarks" sidebar.
Try in safe mode:
https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
Try with a clean profile:
https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles
Does it work?
Severity: critical → normal
Flags: needinfo?(anton.kochkov)
Someone on IRC reported this problem in nightly and release Firefox on Windows 8, but mentioned "using a shell replacement called bblean for Windows, when I switched to the default Windows shell (explorer) in safe mod the tabs worked again."
Anton, can you include info on whether you're using a Windows shell replacement?
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Mardeg from comment #3)
> Someone on IRC reported this problem in nightly and release Firefox on
> Windows 8, but mentioned "using a shell replacement called bblean for
> Windows, when I switched to the default Windows shell (explorer) in safe mod
> the tabs worked again."
>
> Anton, can you include info on whether you're using a Windows shell
> replacement?
Indeed! I'm using bbLean too! But all previous versions of Firefox were working quite well.
Flags: needinfo?(anton.kochkov)
Summary: Firefox Nightly 25.0a1 (2013-07-28) - Can't close any tab → Firefox Nightly 25.0a1 (2013-07-28) - Can't close any tab with the explorer shell replacement bbLean installed
Comment 5•11 years ago
|
||
I also have some sort of windows style and cannot close tabs. I've tried safe mode without any luck.
(In reply to Derrick Dymock from comment #5)
> I also have some sort of windows style and cannot close tabs. I've tried
> safe mode without any luck.
Remove the style from Windows and try again.
Reporter | ||
Comment 7•11 years ago
|
||
(In reply to Loic from comment #6)
> (In reply to Derrick Dymock from comment #5)
> > I also have some sort of windows style and cannot close tabs. I've tried
> > safe mode without any luck.
>
> Remove the style from Windows and try again.
Btw, tried both in safe and with clean profile - bug is still here. So only interaction with bbLean broke the things. (Still in 26.0a1 too)
Yes, the issue is between FF and a third-party application used as Windows explorer shell replacement. The user needs to remove this application form his OS and test again with Firefox.
Anyway, does the issue occur with FF23?
Flags: needinfo?(anton.kochkov)
Reporter | ||
Comment 9•11 years ago
|
||
(In reply to Loic from comment #8)
> Yes, the issue is between FF and a third-party application used as Windows
> explorer shell replacement. The user needs to remove this application form
> his OS and test again with Firefox.
>
> Anyway, does the issue occur with FF23?
1. After changing to default explorer shell - all ok.
2. Tabs closes as well in FF23, also in previous nightly builds (bug introduced in 25.0a1 (2013-07-28) - I'm updating and restarting firefox nightly every morning/day)
Flags: needinfo?(anton.kochkov)
Comment 10•11 years ago
|
||
This problem also occurs in Aurora since todays Aurora update (a big one, ~27mb)...
Comment 11•11 years ago
|
||
Could you use the tool mozregression to find a regression range, please.
See http://harthur.github.io/mozregression/ for details.
Ex: mozregression --good=2013-07-15
Paste the output of the console.
Flags: needinfo?(anton.kochkov)
Keywords: regressionwindow-wanted
Comment 12•11 years ago
|
||
Last good nightly: 2013-07-27
First bad nightly: 2013-07-28
Pushlog:
http:/hg.mozilla.org/mozilla-central/pushloghtml?fromchange=fb48c7d58b8b&tochange=73b69c146ca6
Is this what you wanted?
Comment 13•11 years ago
|
||
Yes. Anyway I don't see obvious suspected bug. Any idea, alice?
For the record, bbLean 1.17.1 can be downloaded here:
http://bb4win.sourceforge.net/bblean/
Comment 14•11 years ago
|
||
(In reply to Loic from comment #13)
> Yes. Anyway I don't see obvious suspected bug. Any idea, alice?
Sorry, I cannot help.
Comment 15•11 years ago
|
||
I know absolutely nothing about programming, but bblean replaces the shell, so it is probably missing something from explorer.exe, but that is kinda weird because GNU/Linux doesn't have explorer.exe at all.
Comment 16•11 years ago
|
||
My guess goes to this bug. Bisecting would help.
Bobby Holley — Bug 893324 - Invoke CleanUp synchronously and unconditionally for modal dialog windows. r=jst Historically, we've had a bunch of complicated machinery to delay the call to CleanUp() for modal dialogs, since we needed to harvest the return value after the window closed. But in the current world we don't actually null out mReturnValue in CleanUp() at all, which presumably happened sometime around the time mReturnValue became cycle-collected. So this stuff can just go away. \o/ That simplification is righteous in itself. But it also fixes the bug here as- filed. When the user quits while a modal dialog is currently being displayed, a failure code ends up bubbling up through windowWatcher to the OpenInternal call in nsGlobalWindow::ShowModalDialog, which means that we're unable to do our delayed CleanUp() call for the outer modal window. At first it seemed like a hard problem to solve, but with the above it becomes trivial.
Comment 17•11 years ago
|
||
You can narrow down using tinderbox-build. (Because the range is less than one month past).
http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/fx-team-win32/
http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-inbound-win32/
Comment 18•11 years ago
|
||
What's the option to use with mozreg? -repo=tinderbox-builds?
Comment 19•11 years ago
|
||
(In reply to Loic from comment #18)
> What's the option to use with mozreg? -repo=tinderbox-builds?
i do not know mozregression.
Down load zip file
extract it
cd the extracted folder
run firefox.exe
And then repeat from top.
Comment 20•11 years ago
|
||
Hello, I'm also a bblean user affected by this bug. Aside from the inability to close tabs, it also breaks session loading - the browser starts up with no saved tabs each time regardless of the state it was closed.
I just spent a while going through the builds from the 2nd of the links in comment 17 (didn't know what the difference between them was...). I had to go back to build 1374953956 before things started working again. The immediately following build is 1374976514 and the bug seems to appear there. I tried around 10 of the more recent builds from the last week or so and it was still broken in all of them.
Session *saving* doesn't appear to be affected at least, once I had found a working build it happily restored my old set of tabs.
Comment 21•11 years ago
|
||
I am also experiencing the not restoring tab problem.
You said that the last good build was 1374953956 [31-Jul-2013 00:01], that's kinda weird because the last good nightly build was on 2013-07-27...
Reporter | ||
Comment 22•11 years ago
|
||
(In reply to Andrew Ramsay from comment #20)
> Hello, I'm also a bblean user affected by this bug. Aside from the inability
> to close tabs, it also breaks session loading - the browser starts up with
> no saved tabs each time regardless of the state it was closed.
>
> I just spent a while going through the builds from the 2nd of the links in
> comment 17 (didn't know what the difference between them was...). I had to
> go back to build 1374953956 before things started working again. The
> immediately following build is 1374976514 and the bug seems to appear there.
> I tried around 10 of the more recent builds from the last week or so and it
> was still broken in all of them.
>
> Session *saving* doesn't appear to be affected at least, once I had found a
> working build it happily restored my old set of tabs.
I can confirm broken session open, I'm affected too.
Flags: needinfo?(anton.kochkov)
Comment 23•11 years ago
|
||
comment#20 pointed to regression window:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=823c58cdd723&tochange=73b69c146ca6
Comment 24•11 years ago
|
||
All of the web developer tools and tab groups are also broken. But they have been broken for a very long time.
Reporter | ||
Comment 25•11 years ago
|
||
So, regression window already defined, any progress on this?
Comment 26•11 years ago
|
||
Maybe somone from QA could help.
Status: UNCONFIRMED → NEW
status-firefox24:
--- → unaffected
status-firefox25:
--- → ?
status-firefox26:
--- → ?
Ever confirmed: true
Keywords: regressionwindow-wanted → regression
Comment 27•11 years ago
|
||
i have the same problem with bbLean and Nightly or Aurora
it dint happen to me till before nightly decided to update on its own about 3 weeks ago
it works when i start explorer.exe first and have bbLean boot when explorer is done now can close tabs
but if i minimize it still has the animation to go back to the task bar that isn't there :/
it works but i rather close Firefox instead of having to use explorer as shell
Comment 28•11 years ago
|
||
Is it possible a bugfix for dev tools has broken that?
Comment 29•11 years ago
|
||
There is a very annoying top green flashing bar over the FF window which doesn't allow me to work with tabs. How can I dismiss it ? I'm new with bblean.
Reporter | ||
Comment 30•11 years ago
|
||
(In reply to Paul Silaghi [QA] from comment #29)
> There is a very annoying top green flashing bar over the FF window which
> doesn't allow me to work with tabs. How can I dismiss it ? I'm new with
> bblean.
Try to add firefox.exe/nightly.exe in exclusions in bbLean configuration
Comment 31•11 years ago
|
||
No change if I add firefox.exe or c:\Program Files (x86)\Nightly\firefox.exe in context menu/BlackBox/bbLeanSkin/Edit Exclusions
Reporter | ||
Comment 32•11 years ago
|
||
(In reply to Paul Silaghi [QA] from comment #31)
> No change if I add firefox.exe or c:\Program Files (x86)\Nightly\firefox.exe
> in context menu/BlackBox/bbLeanSkin/Edit Exclusions
Can you post a screenshot? Have you tried rebooting? (Looks like it does require it).
Comment 33•11 years ago
|
||
(In reply to Anton Kochkov from comment #32)
> Can you post a screenshot?
http://img838.imageshack.us/img838/2793/rtmc.png
Reporter | ||
Comment 34•11 years ago
|
||
Ah, I see. Yes, I think you need to add nightly.exe instead, not firefox.exe.(In reply to Paul Silaghi [QA] from comment #33)
> (In reply to Anton Kochkov from comment #32)
> > Can you post a screenshot?
> http://img838.imageshack.us/img838/2793/rtmc.png
Comment 35•11 years ago
|
||
There isn't any file called "nightly.exe". The source of Nightly is still a firefox.exe (c:\Program Files (x86)\Nightly\firefox.exe)
Reporter | ||
Comment 36•11 years ago
|
||
(In reply to Paul Silaghi [QA] from comment #35)
> There isn't any file called "nightly.exe". The source of Nightly is still a
> firefox.exe (c:\Program Files (x86)\Nightly\firefox.exe)
Then, what about reboot? These settings are not apply even on bbLean restart (doesn't know why).
Comment 37•11 years ago
|
||
Still the same after reboot.
Anyway, let's see if someone from development have any ideas what might have caused this.
roc, jared ?
Updated•11 years ago
|
Flags: needinfo?(jaws)
Reporter | ||
Comment 38•11 years ago
|
||
What info you're need?
Comment 39•11 years ago
|
||
I flagged myself for information since Paul has requested me to look in to this and I don't want it to slip off of my radar. I'll let you know if I have any questions.
(In reply to Alice0775 White from comment #23)
> comment#20 pointed to regression window:
> http://hg.mozilla.org/integration/mozilla-inbound/
> pushloghtml?fromchange=823c58cdd723&tochange=73b69c146ca6
Session Store being broken, plus Session Store changes being in that range, suggests that it's a Session Store problem, bizarre as that might be.
Comment 41•11 years ago
|
||
If this is a Session Store related bug, then Tim would probably be able to help here more since he worked on https://bugzilla.mozilla.org/show_bug.cgi?id=898308 which is within that regression range.
Flags: needinfo?(jaws) → needinfo?(ttaubert)
Comment 42•11 years ago
|
||
Some more info: when I open a direct download link the browser crashes, probably because it opens a new tab (the download link) and tries to close it.
tracking-firefox25:
--- → ?
tracking-firefox26:
--- → ?
Assignee | ||
Comment 43•11 years ago
|
||
I have no clue what bblean does and why this could interfere with any of the things that show up in the pushlog. Are there any errors in the console when trying to close a tab?
Flags: needinfo?(ttaubert)
Comment 44•11 years ago
|
||
(In reply to Tim Taubert [:ttaubert] from comment #43)
> I have no clue what bblean does and why this could interfere with any of the
> things that show up in the pushlog. Are there any errors in the console when
> trying to close a tab?
bblean is a shell replacement. So it stops explorer from running and removes the taskbar and adds it's own, basically.
When trying to close a tab, I get the error: uncaught exception: 2147942487
Not being able to close tabs isn't the only issue firefox has when using bblean either, sadly.
Comment 45•11 years ago
|
||
Unless Matt sees support issues around this, bblean isn't a common user config. No need to track, but would consider a fix for uplift if found.
Reporter | ||
Comment 47•11 years ago
|
||
Uhm, I mean 27a1 still affected
Comment 48•11 years ago
|
||
I see 4 pieces of Input total that could be related to this issue. Nothing in the last 3 weeks. There isn't anything on the SUMO forums. I think this is an edge case, but we can keep an eye out to see if it gains momentum.
Flags: needinfo?(mgrimes)
Updated•11 years ago
|
Comment 49•11 years ago
|
||
I would like to add that this bug not only applies to bbLean, but other builds of the blackbox WM too, such as xoblite. Just tested with latest Nightly build.
Comment 50•11 years ago
|
||
What about non blackbox shell replacements?
Comment 51•11 years ago
|
||
(In reply to Alex from comment #49)
> I would like to add that this bug not only applies to bbLean, but other
> builds of the blackbox WM too, such as xoblite. Just tested with latest
> Nightly build.
It's not just blackbox. It's any shell replacement. Apart from EmergeDesktop, it seems.
Comment 52•11 years ago
|
||
For anybody else still using bblean or any other shell and having this problem, I found a fix. Just set Firefox to vista service pack 2 compatibility. It also fixes the web dev tools as well and some other stuff, so I presume all the issues are related.
Comment 53•11 years ago
|
||
I guess this is never going to get looked at then? With each release it just gets more and more broken.
You can close tabs now, but the session manager is still broken and so you cant undo close tab and things like that. Pressing alt doesn't open up the menu, and you can no longer customize by right clicking the navigation bar.
It would be appreciated by a lot of people if you could at least look into it.
Comment 54•11 years ago
|
||
Oh, and changing the compatibility mode no longer fixes anything.
Comment 55•11 years ago
|
||
(In reply to c4163058 from comment #54)
> Oh, and changing the compatibility mode no longer fixes anything.
Scratch that, actually. On Firefox 26.0 setting to vista service pack 2 fixes everything.
Comment 56•11 years ago
|
||
You need to have your OS up-to-date.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → ttaubert
Status: NEW → ASSIGNED
Assignee | ||
Updated•11 years ago
|
status-firefox28:
--- → affected
status-firefox29:
--- → affected
Component: Tabbed Browser → Shell Integration
Assignee | ||
Comment 57•11 years ago
|
||
Using a shell replacement like blackbox or bblean the WinTaskbar initialization may fail. WinTaskbar.GetAvailable() should return false in those cases so that we don't try to set previews for windows.
A failure in WindowsPreviewPerTab.jsm broke the browser initialization and thus lead to unclosable tabs and unusable devtools etc. This patch fixes all obvious bbLean issues on my machine.
Attachment #8358849 -
Flags: review?(jmathies)
Assignee | ||
Updated•11 years ago
|
Summary: Firefox Nightly 25.0a1 (2013-07-28) - Can't close any tab with the explorer shell replacement bbLean installed → Browser initialization fails with the explorer shell replacement bbLean installed
Comment 58•11 years ago
|
||
Curious, what fails in Initialize on these systems? The creation of ITaskbarList4?
Assignee | ||
Comment 59•11 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #58)
> Curious, what fails in Initialize on these systems? The creation of
> ITaskbarList4?
I unfortunately can't investigate this right now. I'll have a Win machine accessible next week (Jan 20th) again so if anyone feels like answering this question in the meantime please go for it :)
Comment 60•11 years ago
|
||
(In reply to Tim Taubert [:ttaubert] from comment #59)
> (In reply to Jim Mathies [:jimm] from comment #58)
> > Curious, what fails in Initialize on these systems? The creation of
> > ITaskbarList4?
>
> I unfortunately can't investigate this right now. I'll have a Win machine
> accessible next week (Jan 20th) again so if anyone feels like answering this
> question in the meantime please go for it :)
I'd like to figure this out so we can add a comment in the code noting it to prevent future regressions. Generally I'm ok with the patch.
Assignee | ||
Comment 61•11 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #58)
> Curious, what fails in Initialize on these systems? The creation of
> ITaskbarList4?
It's the ITaskbarList4::HrInit() call that fails. Added some comments to clarify.
Attachment #8358849 -
Attachment is obsolete: true
Attachment #8358849 -
Flags: review?(jmathies)
Attachment #8362301 -
Flags: review?(jmathies)
Comment 62•11 years ago
|
||
I'm not sure if this is the best place to bring this up, but is it possible this bug affects Thunderbird too? I use bblean and have noticed that the visual new message alerts (the small popup windows) never work unless I switch the shell back to explorer. If that seems plausible I can go open a separate Thunderbird bug.
Assignee | ||
Comment 63•11 years ago
|
||
(In reply to Andrew Ramsay from comment #62)
> I'm not sure if this is the best place to bring this up, but is it possible
> this bug affects Thunderbird too? I use bblean and have noticed that the
> visual new message alerts (the small popup windows) never work unless I
> switch the shell back to explorer. If that seems plausible I can go open a
> separate Thunderbird bug.
It does seem plausible to me. I don't know much about the Thunderbird code but if you reference this bug when filing the new one I hope the developers will be able to fix that more easily.
Comment 64•11 years ago
|
||
Comment on attachment 8362301 [details] [diff] [review]
0001-Bug-899011-Make-WinTaskbar.GetAvailable-return-false.patch, v2
Thanks!
Attachment #8362301 -
Flags: review?(jmathies) → review+
Assignee | ||
Comment 65•11 years ago
|
||
Comment 66•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Assignee | ||
Comment 67•11 years ago
|
||
Comment on attachment 8362301 [details] [diff] [review]
0001-Bug-899011-Make-WinTaskbar.GetAvailable-return-false.patch, v2
[Approval Request Comment]
Bug caused by (feature/regressing bug #): ?
User impact if declined: Users with shell replacements like bbLean or blackbox can't use Firefox at all. It would be great to unblock those users with a simple fix although they're clearly rather a minority. Not sure if that meets the Beta requirements but I thought I'd try :)
Testing completed (on m-c, etc.): on m-c
Risk to taking this patch (and alternatives if risky): Very small and low-risk patch.
String or IDL/UUID changes made by this patch: None
Attachment #8362301 -
Flags: approval-mozilla-beta?
Attachment #8362301 -
Flags: approval-mozilla-aurora?
Comment 68•11 years ago
|
||
Paul, can you please test to make sure this is fixed on Nightly?
Comment 69•11 years ago
|
||
Comment on attachment 8362301 [details] [diff] [review]
0001-Bug-899011-Make-WinTaskbar.GetAvailable-return-false.patch, v2
Given the low risk and that it was a recent Firefox regression to have users(although minimal) end-up in a non-working browser, approving for uplift.
Also requesting QA verification once this lands on beta.
Attachment #8362301 -
Flags: approval-mozilla-beta?
Attachment #8362301 -
Flags: approval-mozilla-beta+
Attachment #8362301 -
Flags: approval-mozilla-aurora?
Attachment #8362301 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 70•11 years ago
|
||
Comment 71•11 years ago
|
||
(In reply to Anthony Hughes, QA Mentor (:ashughes) from comment #68)
> Paul, can you please test to make sure this is fixed on Nightly?
I can't reproduce the initial issue, tested on nightlies 2013-07-29, 2013-07-30, Win 7 x64, bblean 1.17.1.
All I get is the behavior described in comment 29.
Anton, or anybody who's having trouble with this, could you please try in latest nightly to see it's fixed ?
Flags: needinfo?(paul.silaghi) → needinfo?(anton.kochkov)
Assignee | ||
Comment 72•11 years ago
|
||
(In reply to Paul Silaghi, QA [:pauly] from comment #71)
> (In reply to Anthony Hughes, QA Mentor (:ashughes) from comment #68)
> > Paul, can you please test to make sure this is fixed on Nightly?
> I can't reproduce the initial issue, tested on nightlies 2013-07-29,
> 2013-07-30, Win 7 x64, bblean 1.17.1.
> All I get is the behavior described in comment 29.
The core step to reproduce is to set blackbox.exe as your default shell and then restart Windows. On my machine (Win 7), it didn't work to set as the default shell for all users but per-user. Running blackbox on top of explorer.exe doesn't break Firefox because the WinTaskbar is initialized and available there.
The easiest way to do that is to hit Win+R, type "cmd" and then right click the command prompt to "Run As Administrator". Then change to your bbLean install dir and execute "blackbox.exe -install". Pick the per-user radio button and select blackbox.exe. Reboot.
Uninstall works the same, just call "blackbox.exe -uninstall". From bblean you might need to hit Win+E to open the explorer, navigate to C:\Windows\System32\, right click cmd.exe and "Run As Administrator" again. Reboot.
Reporter | ||
Comment 73•11 years ago
|
||
(In reply to Paul Silaghi, QA [:pauly] from comment #71)
> (In reply to Anthony Hughes, QA Mentor (:ashughes) from comment #68)
> > Paul, can you please test to make sure this is fixed on Nightly?
> I can't reproduce the initial issue, tested on nightlies 2013-07-29,
> 2013-07-30, Win 7 x64, bblean 1.17.1.
> All I get is the behavior described in comment 29.
>
> Anton, or anybody who's having trouble with this, could you please try in
> latest nightly to see it's fixed ?
Looks like FIXED for me.
Flags: needinfo?(anton.kochkov)
Comment 74•11 years ago
|
||
(In reply to Tim Taubert [:ttaubert] from comment #72)
> The core step to reproduce is to set blackbox.exe as your default shell and
> then restart Windows
Thanks Tim.
Reproduced in nightly 2013-07-29, win 7 x64.
In nightly 2014-01-21 tab closing is working properly, also no sign of errors in the browser console.
Verified fixed.
Comment 75•11 years ago
|
||
(In reply to Anton Kochkov from comment #73)
> Looks like FIXED for me.
Thank you!
Comment 77•11 years ago
|
||
User Agents:
[1] Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
[2] Mozilla/5.0 (Windows NT 6.2; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
[3] Mozilla/5.0 (Windows NT 6.3; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
[4] Mozilla/5.0 (Windows NT 6.0; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
[5] Mozilla/5.0 (Windows NT 5.2; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
I was able to confirm the fix for this issue on Windows 7 64-bit [1], Windows 8.1 64-bit [3], Windows Vista 64-bit [4] and Windows XP 64-bit [5] using:
- the latest Beta (Build ID: 20140123185438)
- the latest Aurora (Build ID: 20140123004002)
I also tried running bblean shell replacement on my Windows 8 64-bit [2] machine, with no success despite using different compatibility options.
You need to log in
before you can comment on or make changes to this bug.
Description
•