Closed
Bug 102897
Opened 23 years ago
Closed 14 years ago
Gap at the bottom of the link toolbar "More" menu
Categories
(SeaMonkey :: UI Design, defect)
Tracking
(Not tracked)
RESOLVED
EXPIRED
People
(Reporter: ian, Assigned: jag+mozilla)
References
()
Details
(Keywords: polish, testcase)
Attachments
(3 files)
2.27 KB,
patch
|
Details | Diff | Splinter Review | |
2.31 KB,
patch
|
Details | Diff | Splinter Review | |
2.50 KB,
patch
|
Details | Diff | Splinter Review |
STEPS TO REPRODUCE http://www.bath.ac.uk/~py8ieh/internet/eviltests/link2.html Click on Link Toolbar: More. ACTUAL RESULTS At the bottom of the menu there are a few pixels of extra whitespace that do not appear in other menus. This occurs both in Modern and Classic. EXPECTED RESULTS The menu should act like the others. cc'ing usual suspects as per bug 102832.
Reporter | ||
Updated•23 years ago
|
Comment 1•23 years ago
|
||
There's a collapsed <menuseparator/> down there... removing that fixes it. However, it seems odd to me that it should still have height when collapsed. Perhaps we need to do something else other than, or in addition to, collapsing it. Gerv
Comment 2•23 years ago
|
||
display:none, maybe?
Comment 3•23 years ago
|
||
cool new feature! ->claudius, since he tests toolbars.
QA Contact: sairuh → claudius
Comment 4•23 years ago
|
||
Perhaps we should be using "hidden" instead of "collapsed"? It would help if the <menuseparator/> element was documented...
Blocks: LinkUI
Comment 5•23 years ago
|
||
I experienced intermittent crashes when using "hidden". Perhaps it's a bug, perhaps I was using it wrong (as already mentioned, the documentation is lacking). Anyhow, if anyone tries the "hidden" route again, please test thoroughly, maybe running it yourself for a few days before submitting it. It was a bitch to track down the first time. I believe I left a comment near the offending code explaining why "collapsed" was used instead of hidden.
There's somewhat similar discussion in bug 94984, which seems to suggest using display:none instead of visibility:collapsed. Blake sez using hidden maps to display:none.
No longer blocks: 103053
Comment 7•23 years ago
|
||
We should be using hidden. If it crashes, we find and fix the source - we should use the right tool for the right job. The patch for this is basically s/collapsed/hidden/ in the relevant part of linkToolbar.xul and some JS. Gerv
Comment 8•23 years ago
|
||
Comment 9•23 years ago
|
||
Here's a patch. I've also switched over to using the hideElement function (see the comments in the file); if this works without funny crashes, we can remove the removeElement code.
Comment 10•23 years ago
|
||
Ok, the patch is working for me. Review, anyone?
Comment 11•23 years ago
|
||
This isn't an 0.9.5 blocker, so when other stuff gets out of my tree, I'll review it. In the meantime, please remove the XXX and the commented-out code (we have CVS for that) in linkToolbarItem.js. Other than that, it looks fine from here. Gerv
Comment 12•23 years ago
|
||
Comment 13•23 years ago
|
||
Comment 14•23 years ago
|
||
gerv: nobody is supposed to be seen and not heard...
Comment 15•23 years ago
|
||
Yeah, sorry about that. There was a reason I was logged in as nobody. Gerv
Comment 16•21 years ago
|
||
Comment on attachment 52460 [details] [diff] [review] Removes all unused code. Nit: Correct style is to use .hidden = true/false instead of directly twiddling attributes.
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
Updated•16 years ago
|
Assignee: drbrain-bugzilla → jag
QA Contact: claudius
Comment 17•15 years ago
|
||
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state. If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way. If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar). If no action happens within the next few months, we move this bug report to an EXPIRED state. Query tag for this change: mass-UNCONFIRM-20090614
Status: NEW → UNCONFIRMED
Comment 18•14 years ago
|
||
MASS-CHANGE: This bug report is registered in the SeaMonkey product, but still has no comment since the inception of the SeaMonkey project 5 years ago. Because of this, we're resolving the bug as EXPIRED. If you still can reproduce the bug on SeaMonkey 2 or otherwise think it's still valid, please REOPEN it and if it is a platform or toolkit issue, move it to the according component. Query tag for this change: EXPIRED-20100420
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → EXPIRED
You need to log in
before you can comment on or make changes to this bug.
Description
•