Closed Bug 157033 Opened 24 years ago Closed 23 years ago

Spawning tabs causes progress bar to no longer display on Status Bar

Categories

(Camino Graveyard :: Toolbars & Menus, defect)

PowerPC
macOS
defect
Not set
trivial

Tracking

(Not tracked)

VERIFIED FIXED
Camino0.7

People

(Reporter: bentoi, Assigned: sfraser_bugs)

References

()

Details

Attachments

(2 files, 1 obsolete file)

The progress indicator doesn't work anymore when you open more than one tab in the window. It never shows up again, closing all the tabs doesn't solve the problem. This is because we don't keep track of the NSProgressIndicator superview correctly when switching from tabs. I'm attaching a patch that moves the responsability of hiding/showing the progress indicator in the BroswerWindowController. The superview is cached when the window is loaded. Hope you'll like the patch!
Attachment #91051 - Attachment description: fix progress bar disapearance problem → fix progress indicator disapearance problem
Confirmed using Chimera/20020708.
Severity: normal → trivial
Keywords: patch, review
Summary: The progress indicator only works when there's no tab → Spawning tabs causes progress bar to no longer display on Status Bar
Blocks: 154286
*** Bug 158237 has been marked as a duplicate of this bug. ***
Attached patch updated patch — — Splinter Review
updated patch to reflect the current status of the repository as of 08/04.
Attachment #91051 - Attachment is obsolete: true
->pinkerton
Assignee: saari → pinkerton
QA Contact: winnie → sairuh
Is this still a problem?
landed. thanks for the patch!
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
hrm, i'm not sure if this is really fixed. using the 2002.08.27.05 build, i can sometimes see the progress meter on the multiple tabs, but sometimes i cannot. here's how i tested this (two cases): case a ------ 1. had three tabs open: one with a bug listing, and two with a bug report loaded. 2. on any of the tabs, i hit the reload button. results: sometimes the progress meter appears in the status bar and paints as expected. sometimes, however, it doesn't appear at all even though the status text says "Loading..." case b ------ 1. had three tabs open: one with a bug listing, and two with a bug report loaded. 2. in the first tab with the bug listing, cmd-click a bug link to load it in another tab (i have the pref to open in background, fwiw). 3. quickly go to this new (4th) tab and watch the status bar. results: other than encountering bug 164706 ("untitled" appearing while page is loading), eventually i do see "Transferring..." text, but no progress meter ever appears. benoit, does this fix help the particular issue you mentioned? are cases (a) and (b) different issues from this bug?
I can't reproduce a), if I have several tabs open and hit the reload button in one tab the progress bar always shows up. b) is easy to fix, Mike in src/browser/BrowserWrapper.mm Line 50 add: else [mWindowController showProgressIndicator]; Sorry, I missed that!
Line 50? That doesn't make sense. Can you paste a patch please?
reopening based on comment 9.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch additional patch — — Splinter Review
Indeed, no idea how I came up with this line 50! It should probably be 176 instead. Attached the patch.
Target Milestone: --- → Chimera0.7
Taking
Assignee: pinkerton → sfraser
Status: REOPENED → NEW
The patch didn't do enough. Each browser wrapper has to main its own progress level, and set the progress meter to the correct state and value when it becomes primary. I fixed all that.
Status: NEW → RESOLVED
Closed: 24 years ago → 23 years ago
Resolution: --- → FIXED
ahhh, much better. :) vrfy'd fixed on 10.2.2 with 2002.12.03.04.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: