Closed Bug 215656 Opened 21 years ago Closed 21 years ago

Cookie manager window scrollbar resizes incorrectly when cookies are deleted

Categories

(Core :: Networking: Cookies, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.6beta

People

(Reporter: foxtrotmike0-mozbugzilla, Assigned: neil)

References

Details

Attachments

(4 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030808 Mozilla Firebird/0.6.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030808 Mozilla Firebird/0.6.1+

When a cookie is deleted from the cookie manager, the scrollbar gets
increasingly smaller.  If you delete enough cookies (about five or six), a large
amount of whitespace gets created below the last cookie on the list.

Reproducible: Always

Steps to Reproduce:
1.  Go to Tools | Options
2.  Open the cookie manager.
3.  Delete a cookie and watch the scrollbar shrink in size.

Actual Results:  
The scrollbar gets smaller whenever a cookie is deleted.  Whitespace also
appears underneath the last cookie on the list.

Expected Results:  
The scrollbar should increase in size whenever a cookie is deleted.  Whitespace
should not be created when cookies are deleted.
Looks to me that when they recalculate the size of the combo box, they add the
new size to the original instead of replacing the original with the new value,
thereby making the combo box about twice as long as it should be.
Confirmed with 20030809 build on W2K.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Probably a totally different thing, but the cookie manager doesn´t remember user
selected state of the three columns (SITE, COOKIE NAME, STATUS). It always
defaults to just showing SITE, and COOKIE STATUS the next time it is opened.
This happens in both FB and the Mozilla Suite, so maybe another bug should be
opened for this???
This bug was already present in Mozilla suite 1.5a (Windows XP). It is also in
Mozilla suite 1.5b (Windows XP). The 1.4 is safe from this bug.
"OS" and "version" can be updated.
I see this on Linux too, with FB 20030903.
OS: Windows 2000 → All
Hardware: PC → All
This bug should be changed:
- from "Firebird specific" to "Mozilla general".
- it should be "blocker for 1.5 final".

Thanks.
Moving to Browser
Assignee: blake → bugs
Component: Menus → Preferences
Product: Firebird → Browser
QA Contact: bugzilla → sairuh
Version: unspecified → Trunk
This bug is still in 1.5rc1 and is still in 1.5rc2.
It should be marked as "1.5 final blocker". We can't ship 1.5 without fixing
this bug... This bug is too visible; users will see it and complain.
Flags: blocking1.5?
*** Bug 220592 has been marked as a duplicate of this bug. ***
"I'm not a pref, I'm a cookie!"
Component: Preferences → Cookies
QA Contact: sairuh → cookieqa
"1.5 final release" is now OUT. And this bug is still present... Dooooh. Nobody
cares about this bug. What a pitty.

So, now, what ? Will we see a "1.5.1" with this bug corrected ? Or, will we wait
until 1.6a ?
>So, now, what ? Will we see a "1.5.1" with this bug corrected ? Or, will we wait
>until 1.6a ?

stop being obnoxious.
> stop being obnoxious.

Hey, I'm not obnoxious at all ! That wasn't my aim, that isn't my spirit. I
don't think I'm obnoxious.  (?).

Perhaps, my previous comment missed a few smileys. Ok, perhaps.   ;)

I was so disappointed by this "not-fixed bug" that my
fast-reacting-fingers-on-keyboard went parhaps too fast...   :(

Mozilla's team is doing a great job. I'm a great Mozilla's supporter. I search
and report bugs to help Mozilla, not to be obnoxious against Mozilla's team.

I'm just sorry that "1.5" still has this bug... You know... I've waited so much...
Attached patch fix assertionSplinter Review
This at least fixes the assertion I keep on getting. It also seems to fix the
actual problem here.
Comment on attachment 133593 [details] [diff] [review]
That's the way to do it!

Yeah, this is much better.

looking for sr.
Attachment #133593 - Flags: superreview?(bryner)
Attachment #133593 - Flags: review+
Flags: blocking1.5?
Comment on attachment 133593 [details] [diff] [review]
That's the way to do it!

BTW, I only meant to attach the first three hunks, feel free to remove the rest
if you don't want it.
Over to Neil, who seems to be working on this now.
Assignee: bugs → neil.parkwaycc.co.uk
Attachment #133762 - Flags: superreview?(bryner)
Attachment #133762 - Flags: review?(mvl)
Attachment #133762 - Flags: review?(mvl) → review?(jag)
Comment on attachment 133762 [details] [diff] [review]
Similar cleanup for popupManager.js

r/sr=bryner
Attachment #133762 - Flags: superreview?(bryner) → superreview+
Attachment #133593 - Flags: superreview?(bryner) → superreview+
(Assuming nobody wants it in any earlier.)
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.6beta
Comment on attachment 133762 [details] [diff] [review]
Similar cleanup for popupManager.js

r=me, nice stuff!
Attachment #133762 - Flags: review?(jag) → review+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
This bug is still present in 200301104.
This was originally reported for Firebird, so it should be fixed in Firebird as
well. -> reopening.
I said reopening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This merges all the differences but the license.
Comment on attachment 135244 [details] [diff] [review]
port the changes from nsWalletTreeUtils.js to treeUtils.js

Brian, review?
These changes should also be made to passwordManager.js, but I'm not sure about
what to change and what not.
Attachment #135244 - Flags: review?(bryner)
Comment on attachment 135244 [details] [diff] [review]
port the changes from nsWalletTreeUtils.js to treeUtils.js

r=me.  I was fairly sure I'd already cleaned up firebird's password manager
code to give the correct notifications to the tree.
Attachment #135244 - Flags: review?(bryner) → review+
Firebird patch checked in.
Thanks. You're right, the password manager isn't affected by this bug. But maybe
you like the leaner sorting this bug introduced?
The behavior is back to normal in 20031115.  Fix appears to be working correctly.
This is fixed for firebird with bryner's checkin.
Status: REOPENED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → FIXED
verified fixed 2004-01-15
Status: RESOLVED → VERIFIED
I think this bug is back.
1. Open options and Pricacy tab
2. Open "exceptions" for cookies.
3. Delete a domain using "delete" on your keyboard.
4. Scroll down the list to see the empty space.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040708
Firefox/0.9.0+
WFM on the same build.  Please file a new bug under prefs for Firefox if you can
replicate on a clean profile.
(In reply to comment #35)
> I think this bug is back.
> 1. Open options and Pricacy tab
> 2. Open "exceptions" for cookies.
> 3. Delete a domain using "delete" on your keyboard.
> 4. Scroll down the list to see the empty space.

That is bug 273698, which details a problem with the patch in this bug, notably
that the rowCount property isn't actually settable.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: