Ticket #52 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Explorer flashes when navigating under Swish root.

Reported by: stevenlovegrove Owned by: alamaison
Priority: blocker (cannot release, e.g. data loss) Milestone: 0.5 Failure and UI cleanup
Component: frontend Version: 0.3.5
Keywords: flash navigation explorer focus Cc:


Windows Explorer flashes when navigating between folders under Swish root, as though Explorer looses and regains focus.

Tested on:
Windows 7 Professional (x86)
Swish 0.3.4 Release

Change History

comment:1 Changed 7 years ago by alamaison

  • Priority changed from minor to trivial
  • Milestone set to Version 1

comment:2 Changed 7 years ago by alamaison

  • Priority changed from trivial to blocker
  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from 1.0 Version 1 to 0.5 Failure and UI cleanup

Fix problem with Explorer windows losing and regaining focus (flashing).

This was a hard one to crack! Turns out The ClassMoniker? created by MkParseDisplayName? (called inside CoGetObject?) created a dialogue window (FFS!) saying "Installing COM Object" and owned by the desktop window. it never showed the dialogue so the only symptom was this loss of focus.

The solution was to implement our own version of CoGetObject? that affords us access to the IBindCtx. This way we could set the IBindStatusCallback to a custom one which forbids UI.

This problem, filed in #80, became a blocker for #38 as it prevented focus landing on the newly created folder so the user could rename it.

Note: See TracTickets for help on using tickets.