Closed Bug 8467 Opened 25 years ago Closed 25 years ago

Titled buttons don't reflect changes

Categories

(Core :: XUL, defect, P3)

All
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: scottputterman, Assigned: hyatt)

References

Details

I'm trying to change Messenger trees over to use David's new tree code. I'm using XUL Templates where I make each tree cell have a titled button. The problem is that changes to styles that should change folder icons or changes to attributes that should change header status text don't show up until I reload the table. It would be great if these could work before we land the changes on the tip.
Icons seem to be working now, but changes to text aren't showing up.
*** Bug 8973 has been marked as a duplicate of this bug. ***
adding myself to cc: list since this affects Messenger and user feedback when a mail message gets selected as read.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
It turns out this is my fault. I'm marking as fixed since icons are changing and text is changing.
Status: RESOLVED → REOPENED
OK. I'm not reopening this. I did have a problem in my code that I have fixed on my tree. I've traced through the code and it looks like it's doing the right thing now. However, the new text doesn't show up until I resize the window. I don't know if this is a titled button problem, tree widget problem, or XUL Templates problem. A representative of each is on this bug's to or cc list. The last call I traced into was: UpdateWidgetItemAttribute(templateNode, element, PR_TRUE, aPredicate, target); Anyway, you won't be able to see this with this example until I check in my changes.
Resolution: FIXED → ---
Sorry, there was a type in my last message. It should have said "I'm now reopening this bug".
Blocks: 8973
Assignee: evaughan → hyatt
Status: REOPENED → NEW
Could this be something the tree is doing?
Assignee: hyatt → rjc
I think this could be templates. Reassigning to rjc.
Assignee: rjc → evaughan
So, I single-stepped through this a bit and it seems to be a problem that's deeper than the template stuff. Back to you, Eric. :^)
Ooops, I meant to also add... that if you resize the window (thus triggering a reflow) that the changes usually have taken effect, further proof that it isn't with the template code.
Assignee: evaughan → hyatt
Titled buttons work find everywhere but in this case in the tree. David take another look. I'll help you out if you need it.
Status: NEW → ASSIGNED
Target Milestone: M9
This seems to be working now as mentioned in bug 8973. Did anyone change anything?
Target Milestone: M9 → M10
*** Bug 10208 has been marked as a duplicate of this bug. ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
resolving as fixed
QA Contact: ckritzer → putterman
Assigning to originator per new organizational structure.
Status: RESOLVED → VERIFIED
BULK MOVE: Changing component from XUL to XP Toolkit/Widgets: XUL. XUL component will be deleted.
Component: XUL → XP Toolkit/Widgets: XUL
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: scottputterman → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.