[0.5 windows] transaction list column headers "flicker" when switching accounts

Bug #340453 reported by Karel Kolman
2
Affects Status Importance Assigned to Milestone
wxBanker
Confirmed
Low
Unassigned

Bug Description

I hope this is the last windows related bug report from me...

again windows, wx 2.8.9.2

1. Switch between accounts.
2. Watch the column headers shrink and then be spread to full size.

Ideally Freeze/Thaw calls would hide this thing from the user, but does not seem to be the case in MSW wx windows.

Revision history for this message
Karel Kolman (kolmis) wrote :

as of wx 2.8.9.1 adding calls to Freeze/Thaw of ListCtrl's parent remove the "flicker".

see r177 of my 0.5 branch for a MSW specific patch, not sure if it's the right way to go, i sure am no wxwidgets guru.

bug upstream reported here
https://sourceforge.net/tracker/index.php?func=detail&aid=2675117&group_id=225207&atid=1064157

one more thing to note, Freeze/Thaw calls in GTK version of wx 2.8.9.1 don't seem to do anything,
there is a patch commited 12 months ago, see http://trac.wxwidgets.org/changeset/52305 , but no trace of it in wx 2.8.9.1 as far as i can tell...

Revision history for this message
Michael Rooney (mrooney) wrote :

Thanks, I can confirm this as well. I think a simpler approach would be to override Freeze/Thaw on GOLV to always Freeze/Thaw the parent, or just manually do this in setAccount in OLV; I don't see any harm in doing this on all platforms, it can only reduce flicker!

Changed in wxbanker:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Karel Kolman (kolmis) wrote :

I had thought about plainly overriding the Freeze/Thaw methods the way you're saying, but I wasn't sure of it not having any side effects (like the parent.Freeze calling child's Freeze cycle, but that probably is not the way it works)

It sure would be a better way to provide this fix as a mixin plugged into TransactionOLV not patching ObjectListView's code, since it may be then easier to update the OLV component from upstream.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.