StrataSource / Engine

Issue tracker for Strata Source
46 stars 2 forks source link

Hammer loading progress window appears over other windows #395

Open vrad-exe opened 2 years ago

vrad-exe commented 2 years ago

Describe the bug

The title says it all

To Reproduce

  1. Open Hammer
  2. Open a map
  3. Alt-tab out
  4. Loading progress window is still visible

Issue Map

Any

Expected Behavior

It should not appear over other windows

Operating System

Tested on Windows 10

AWildErin commented 2 years ago

This extends to any Qt window, not just the progress bar from my experience

JJL772 commented 2 years ago

We currently give certain Qt dialogs the "always on top" attribute as a workaround for some hammer bugs. The proper way would be to add special handling in the hammer event loop to prevent it from forcing the MFC widgets on top of everything (this was an issue with the viewports, but we added a workaround there). I'll go ahead and extend this to all other MFC windows/dialogs though. Then we can remove this ugly hack

JJL772 commented 2 years ago

This needs testing, we changed how the Qt windows embed into the MFC application in April, should resolve this problem

vrad-exe commented 2 years ago

It's still overlapping other windows on the latest developer build

vrad-exe commented 1 week ago

Still an issue