[0.708] Context menu freezes UL/DL visual updating

Bug #300971 reported by Jota.Ce
12
Affects Status Importance Assigned to Milestone
DC++
Fix Released
Medium
Unassigned

Bug Description

When i right-click on a search result:
 - Connections tab updating gets frozen
 - Downloads tab updating gets frozen

It's only a visual issue, cause status bar keeps reflecting your speeds/sizes for UL/DL.

And when you click out of context menu, everything is back to normal.

I get same results right-clicking on Download queue files or file list files...

XP SP3 + 0.708

PD: Anyway, one question more... with Procexp, can i write down Thread ID or CSwhitch ot Starting address to help yoi with this kind of things??? cause all of my problems seems to be thread-related (do you remember 100% cpu usage caused by one thread?)

Regards ;)

Revision history for this message
Jota.Ce (psidtg) wrote :

Still present in 0.7091.

Revision history for this message
poy (poy) wrote :

opening *any* menu with dwt freezes the whole GUI, because it enters the menu's own modal loop and waits for it to exit before processing other messages.

Changed in dcplusplus:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Jota.Ce (psidtg) wrote :

[0.75]

I've checked that, every menu in DC++ freezes visual updating...

Revision history for this message
poy (poy) wrote :

fixed by processing callbacks on reception of WM_ENTERIDLE with MSGF_MENU. this might introduce funky issues since background updating of the app while showing a menu has never really been tested...

other solutions if this one doesn't work out (writing them down while i have them in mind):
- install a WH_MSGFILTER hook and act on reception of MSGF_MENU in the MessageProc.
- create a fake menu window (daunting task!) inspired by R Chen's FakeMenu sample in the Win SDK.

Changed in dcplusplus:
status: Confirmed → Fix Committed
Revision history for this message
poy (poy) wrote :

Fixed in DC++ 0.797.

Changed in dcplusplus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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