Closed Bug 888672 Opened 7 years ago Closed 7 years ago

changing motif doesn't change the style for the tree objects

Categories

(Other Applications :: ChatZilla, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hunboy, Assigned: hunboy)

References

Details

(Keywords: regression, Whiteboard: [cz-0.9.90.1])

Attachments

(1 file)

When we change motif manually, the userlist and the channel-tree plugin treebox style doesn't change. At startup it works. Current known workaround is restart the chatzilla with the new motif.

The last good mozilla-central is 2011-09-20
The first bad mozilla-central is 2011-09-21
http://hg.mozilla.org/mozilla-central/pushloghtml?startdate=2011-09-20&enddate=2011-09-21

I've tried the clearStyleAndImageCaches() function on the treebox but no effect.
Keywords: regression
I forgot: /sync stuffs also have no effect for it. But this can be a possible way, resyncing somehow the treeobjects.

However channel-tree is currently not part of chatzilla, but would be good to find some general fix which one doesn't require plugin-patch. The channel-tree plugin is motif-compatible at this moment.
If I reinsert "dyn-motif" named CSS (after changing motif), then it gets applied.
Based on Szabi's idea I reappend the node, i think it's acceptable workaround while sync-output is more hardcoded than this.
Attachment #769515 - Flags: review?(bugzilla-mozilla-20020327)
Assignee: rginda → utasir
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment on attachment 769515 [details] [diff] [review]
reappend motif at sync-motif

Review of attachment 769515 [details] [diff] [review]:
-----------------------------------------------------------------

Awesome hack, well done! Code is fine as it is. r=silver
Attachment #769515 - Flags: review?(bugzilla-mozilla-20020327) → review+
http://hg.mozilla.org/chatzilla/rev/f89c876daa94

Thanks!
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Whiteboard: [cz-0.9.91]
So, checking nightlies again, this regressed between:

http://hg.mozilla.org/mozilla-central/rev/648d084ca28e (good)

and

http://hg.mozilla.org/mozilla-central/rev/e8bd19f6abbb (bad)

on m-c.

This says:

http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=648d084ca28e&tochange=e8bd19f6abbb

Which suddenly includes bug 686449 and all is clear...
Depends on: 686449
Blocks: 900046
Whiteboard: [cz-0.9.91] → [cz-0.9.90.1]
You need to log in before you can comment on or make changes to this bug.