Closed
Bug 361694
Opened 18 years ago
Closed 18 years ago
Altering a tag's importance resets its name and colour
Categories
(SeaMonkey :: Preferences, defect)
SeaMonkey
Preferences
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey1.1final
People
(Reporter: neil, Assigned: mnyromyr)
References
Details
(Keywords: fixed-seamonkey1.1, fixed1.8.1.1)
Attachments
(3 files, 2 obsolete files)
2.62 KB,
patch
|
neil
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
4.04 KB,
patch
|
neil
:
review+
neil
:
superreview+
neil
:
approval-seamonkey1.1+
|
Details | Diff | Splinter Review |
2.16 KB,
patch
|
mnyromyr
:
review+
mnyromyr
:
superreview+
|
Details | Diff | Splinter Review |
Steps to reproduce problem: 1. Change the name and colour of a tag 2. Make it more or less importnant Actual result: tag name and colour is reset to its original value Workaround: change tag importance first, or switch pref panes
Assignee | ||
Updated•18 years ago
|
Assignee: prefs → mnyromyr
Assignee | ||
Comment 1•18 years ago
|
||
Read the possibly changed values before moving the elements.
Attachment #246484 -
Flags: superreview?(neil)
Attachment #246484 -
Flags: review?(neil)
Assignee | ||
Comment 2•18 years ago
|
||
Same as the trunk patch, but with an additional fix for a focus loss when moving the listitems.
Attachment #246485 -
Flags: superreview?(neil)
Attachment #246485 -
Flags: review?(neil)
Reporter | ||
Updated•18 years ago
|
Attachment #246484 -
Flags: superreview?(neil)
Attachment #246484 -
Flags: superreview+
Attachment #246484 -
Flags: review?(neil)
Attachment #246484 -
Flags: review+
Reporter | ||
Comment 3•18 years ago
|
||
Comment on attachment 246485 [details] [diff] [review] 1.8 branch patch > function FocusTagEntry(aEntry) > { >+ OnFocus({target: aEntry}); > // focus the entry's textbox > gTagList.ensureElementIsVisible(aEntry); > aEntry.firstChild.firstChild.focus(); > } This is wrong for two reasons: a) it fixes the the focus loss before it was supposed to happen b) replicating the focus event itself isn't the correct fix, the correct fix is to replicate the effect of the event handler.
Attachment #246485 -
Flags: superreview?(neil)
Attachment #246485 -
Flags: superreview-
Attachment #246485 -
Flags: review?(neil)
Assignee | ||
Comment 4•18 years ago
|
||
Landed trunk fix.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•18 years ago
|
||
> >+ OnFocus({target: aEntry}); > > // focus the entry's textbox > > gTagList.ensureElementIsVisible(aEntry); > > aEntry.firstChild.firstChild.focus(); > > } > This is wrong for two reasons: > a) it fixes the the focus loss before it was supposed to happen Uh? The focus loss of the listbox happens when MoveTag calls .insertBefore to move the listitem (just like on trunk). Only on trunk, the textbox' .focus() call in FocusTagEntry will select the listitem, but doesn't on branch. > b) replicating the focus event itself isn't the correct fix, > the correct fix is to replicate the effect of the event handler. Yeah. Here's a less hackier version, just doing the missing listitem selection before focussing the textbox.
Attachment #246533 -
Flags: superreview?(neil)
Attachment #246533 -
Flags: review?(neil)
Assignee | ||
Updated•18 years ago
|
Attachment #246485 -
Attachment is obsolete: true
Reporter | ||
Comment 6•18 years ago
|
||
Comment on attachment 246533 [details] [diff] [review] 1.8 branch patch, v2 Sorry I forgot to debug this before, and smaug didn't answer his memo, but the actual problem is that removing the element from the dom kills the listener.
Attachment #246533 -
Flags: superreview?(neil)
Attachment #246533 -
Flags: review?(neil)
Attachment #246533 -
Flags: review-
Assignee | ||
Comment 7•18 years ago
|
||
- recreate the lost event listener - fix missing label/color update for items not in view - fix button id typo in .xul
Attachment #246533 -
Attachment is obsolete: true
Attachment #246539 -
Flags: superreview?(neil)
Attachment #246539 -
Flags: review?(neil)
Reporter | ||
Comment 8•18 years ago
|
||
Comment on attachment 246539 [details] [diff] [review] 1.8 branch patch, v3 Also to move the call to UpdateTagEntry on the trunk (we could land that with the onfocus comments and optimization patch if you like).
Attachment #246539 -
Flags: superreview?(neil)
Attachment #246539 -
Flags: superreview+
Attachment #246539 -
Flags: review?(neil)
Attachment #246539 -
Flags: review+
Assignee | ||
Updated•18 years ago
|
Attachment #246539 -
Flags: approval-seamonkey1.1?
Assignee | ||
Comment 9•18 years ago
|
||
Landed additional fixes (moved call, .xul id) on trunk as per comment #8.
Attachment #246617 -
Flags: superreview+
Attachment #246617 -
Flags: review+
Comment 10•18 years ago
|
||
Comment on attachment 246539 [details] [diff] [review] 1.8 branch patch, v3 first-a=me for SeaMonkey 1.1, one more needed
Reporter | ||
Updated•18 years ago
|
Attachment #246539 -
Flags: approval-seamonkey1.1? → approval-seamonkey1.1+
Assignee | ||
Comment 11•18 years ago
|
||
Landed on MOZILLA_1_8_BRANCH.
Keywords: fixed-seamonkey1.1,
fixed1.8.1.1
You need to log in
before you can comment on or make changes to this bug.
Description
•