Closed
Bug 16516
Opened 25 years ago
Closed 25 years ago
[DOGFOOD] view sidebar not persistent on subsequent windows
Categories
(SeaMonkey :: Sidebar, defect, P1)
SeaMonkey
Sidebar
Tracking
(Not tracked)
VERIFIED
FIXED
M13
People
(Reporter: paulmac, Assigned: waterson)
References
Details
(Whiteboard: [PDT-])
Attachments
(2 files)
3.12 KB,
patch
|
Details | Diff | Splinter Review | |
3.21 KB,
patch
|
Details | Diff | Splinter Review |
Overview Description: View Sidebar works for the current session but is not persistent. Steps to Reproduce: 1) Launch apprunner 2) If sidebar is open, close it with View Sidebar. (If sidebar is closed, open it with view sidebar) 3) Shutdown and re-start. Actual Results: The state at shutdown with not be saved if you had toggled it in the last session. If it was open the last time you launched, it will be open again. Similarly, if you had it closed at previous launch, it will be closed again. Expected Results: The state at shutdown should be saved. Found on 101508 builds, all platforms.
Assignee | ||
Comment 1•25 years ago
|
||
is this different from the splitter problem, slamm?
Comment 2•25 years ago
|
||
Yes, this is differenct than the splitter problem. When you hide the sidebar with "View / Sidebar" it sets the "hidden" attribute to "true" on the splitter and on the sibling box. I was guessing that persistence was broken. I went to try this out on my build from today, but there is no apprunner executable in the build directory. What is up with that?
Reporter | ||
Comment 3•25 years ago
|
||
I think it is called mozilla.exe now?
Comment 4•25 years ago
|
||
Right! I am so stupid!
Reporter | ||
Comment 5•25 years ago
|
||
this is working on Linux as of 10/22 morning builds. We will verify on other platforms before marking fixed.
Comment 6•25 years ago
|
||
Dunno what's different about your build, but it's not working on my 10/22 Linux build. Remove your localstore.rdf to ensure a clean start, start apprunner, do view->sidebar, the sidebar goes away, do file->quit, then run apprunner again: the sidebar is back.
Comment 7•25 years ago
|
||
This is busted for me too in my linux build from today. My windows build from yesterday is also busted.
Reporter | ||
Comment 8•25 years ago
|
||
Okay, I'm wrong. Turns out there was a renegade apprunner instance running in the background so I was never really fully shutting down. Maybe this could be a feature :-)
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M11
Reporter | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 10•25 years ago
|
||
Okay, this time it really does look fixed with 10/27 builds. Both Linux and Windows hold their sidebar state persistent after a re-start.
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 11•25 years ago
|
||
marking verified
Assignee | ||
Updated•25 years ago
|
Status: VERIFIED → REOPENED
Assignee | ||
Comment 12•25 years ago
|
||
it's back in black.
Resolution: FIXED → ---
Summary: view sidebar not persistent → [DOGFOOD] view sidebar not persistent
Reporter | ||
Comment 13•25 years ago
|
||
To clarify, the behavior is on a second browser window that is opened up. The pref is persistent for the initial browser window.
Comment 14•25 years ago
|
||
This saved feature is not for mandatory for dogfood. Putting on PDT- radar.
Assignee | ||
Updated•25 years ago
|
Target Milestone: M11 → M12
Comment 15•25 years ago
|
||
It's no longer persistent on the initial browser window; we've regressed again.
Updated•25 years ago
|
Whiteboard: [PDT-]
Comment 16•25 years ago
|
||
Not only is this not persistent across logins, even opening a new browser window doesn't honor this setting. For users who use do lots of things in various different brower windows, having to constantly close the sidebar is quite irritating. It's almost enough to make me want to stay with Communicator until this gets fixed. Continuing to ship with such a basic usability issue as this seems like it's gonna drive away users. I'd like to ask the PDT team to reconsider this bug.
Assignee | ||
Updated•25 years ago
|
Priority: P3 → P1
Comment 17•25 years ago
|
||
DMose, we'll leave this a PDT- since you said "almost". Seriously, we have bigger problems to deal with.
Reporter | ||
Updated•25 years ago
|
Summary: [DOGFOOD] view sidebar not persistent → [DOGFOOD] view sidebar not persistent on subsequent windows
Reporter | ||
Comment 18•25 years ago
|
||
updated bug description to current status, which is view sidebar is persistent on the initial browser window, but is always open on subsequent windows.
Assignee | ||
Updated•25 years ago
|
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 19•25 years ago
|
||
This is (now) happening because of inconsistent use of 'chrome:' URLs; e.g., chrome://navigator/content/ vs. chrome://navigator/content/navigator.xul Both of which resolve to the same thing. The former is used at browser startup, and is hardcoded into the product somewhere. The latter is used in the "open new window" handler (and other places). So, what needs to happen is we need to decide which we want to use, and the consistently apply it. I'd suggest we stick with the former; i.e., without the explicit "navigator.xul". cc'ing law and hyatt, who may have opinions.
Assignee | ||
Comment 20•25 years ago
|
||
I've found "chrome://navigator/content/navigator.xul" in... tasksOverlay.js navigator.js nsContextMenu.js openLocation.js Unilaterally changing these to "chrome://navigator/content/" seems to fix the problem.
Assignee | ||
Comment 21•25 years ago
|
||
Assignee | ||
Comment 22•25 years ago
|
||
slamm: please take a look at the attached patch... 1. Removed unnecessary try block in sidebarOverlayInit() 2. Add immediate 'persist' call to sidebarShowHide() This ensures that choice of "view" will take effect on the very next window that's opened.
Comment 23•25 years ago
|
||
The patch looks good to me.
Assignee | ||
Comment 24•25 years ago
|
||
After talking with slamm, I think that the correct way to fix this is to consistently use "chrome://navigator/content/navigator.xul", rather than the magical default stuff. It just makes stuff clearer. Comments?
Assignee | ||
Comment 25•25 years ago
|
||
After talking to hyatt, we agreed to make the chrome cache and the persistence stuff smart enough to collapse both cases to the same thing.
Assignee | ||
Updated•25 years ago
|
Target Milestone: M12 → M13
Assignee | ||
Comment 26•25 years ago
|
||
*** Bug 12575 has been marked as a duplicate of this bug. ***
Comment 27•25 years ago
|
||
This is fun: close the sidebar in a browser window, open a new browser window, and watch the first window as the second launches. The sidebar will open again in the first window while the second window draws itself, and then close again. That's just wrong, regardless of whether or not the second window starts with the sidebar closed (it doesn't). Tested with: 1999-12-09-08-M12 nightly binary on Windows NT 4.0sp3.
Comment 28•25 years ago
|
||
*** Bug 21174 has been marked as a duplicate of this bug. ***
Comment 29•25 years ago
|
||
*** Bug 18503 has been marked as a duplicate of this bug. ***
Comment 30•25 years ago
|
||
*** Bug 18503 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 31•25 years ago
|
||
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 32•25 years ago
|
||
fix checked in, r=hyatt
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Reporter | ||
Comment 33•25 years ago
|
||
Still a few problems with this. Not sure if you want a new bug. Scenario 1: Create a new profile. Close Sidebar with View - Sidebar. Shut down and re-launch. Sidebar is closed! Perfect. Scenario 2: Create a new profile. Close Sidebar with View - Sidebar. Open new navigator window. Sidebar is open. Damn! Same behavior after shutdown and re-start. Scenario 3: Create a new profile. Close Sidebar with View - Sidebar. Open new navigator window. Sidebar is open. Close with view - sidebar. All subsequent windows will have sidebar closed, including after a re-start. Perfect. So, to actually make it so you never see sidebar again, you have to close the sidebar using view sidebar on the initial window, and then open a new window and close it again with view sidebar. Did a marketing person put you up to this? Using a linux 1/6 build
Reporter | ||
Updated•25 years ago
|
Resolution: FIXED → ---
Assignee | ||
Updated•25 years ago
|
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 34•25 years ago
|
||
Damn, I thought (2) and (3) were working. I'll look at it some more.
Assignee | ||
Comment 35•25 years ago
|
||
Ok, I am not seeing (2) on Win32. Maybe a [PP] issue? Could you try it out on Win32 and Mac?
Reporter | ||
Comment 36•25 years ago
|
||
Yes, it looks okay on windows. Checking on Mac now. Anything you want me to look at on Unix to help investigate?
Assignee | ||
Comment 37•25 years ago
|
||
Ok, in the build that I just pulled, Unix -is- working correctly. Could somebody with a hand-built, current-as-of-tree-closure-this-morning build please try this on Linux? I wouldn't be surprised if the release team spit out bits that were pulled from a timestamp yesterday or last night. Stranger things have happened.
Comment 38•25 years ago
|
||
I just tried it on an optimized updated-and-built-this-morning tree ... and sure enough, the problem is gone, and the sidebar state is remembered. It isn't remembered on this morning's mozilla build on sweetlou. Somehow, the sweetlou release build doesn't seem to have gotten the fix.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 39•25 years ago
|
||
ok, marking as fixed again. paulmac, can you go kick the release team around a bit? thanks, chris
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 40•25 years ago
|
||
verified with 1/10 builds
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•