Project

General

Profile

Emulator Issues #8973

Dialog boxes appear beneath fullscreen (both OGL and D3D though differently)

Added by MayImilae over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Low
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
Yes
Relates to usability:
Yes
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

I have a really weird issue for you guys!

  1. Have the Dolphin gamelist and options window in the same window that the game will be run upon
  2. Have a "framedump0.avi" file already in the Dolphin Emulator\Dump\Frames folder (Dolphin creates one even if you press cancel on the compression screen, so it's hard not to have a file here!)
  3. Turn on "Use Fullscreen"
  4. Turn on "Dump Frames"
  5. Run any game

The game will appear to hang, with the window showing nothing but black screen! Hit Alt-Tab to select the emulator window (what most people will do), and hitting stop will make the emulator go unresponsive!

What's happening is that the frame dump compression popup is being generated behind the game window, instead of in front. Hit Alt-Tab twice and it can be selected, and hitting an option there will make the emulator proceed as normal. While it may seem convoluted, anyone who dumps frames will usually do so in fullscreen, so it's not that weird to leave it running accidentally and then start a game. That's all that it takes to run into this! This happens on both borderless and exclusive fullscreen.

And this appears to be a regression.

Tested on:
4.0 - Not Broken
4.0-926 - Not Broken
4.0-1226 - Not Broken
4.0-1430 - Not Broken
4.0-1516 - Not Broken
4.0-1690 - Not Broken
4.0-2241 - Not Broken
4.0-2352 - Not Broken
4.0-2628 - Broken
4.0-3093 - Broken
4.0-7373 - Broken

That's as far as I could test with the builds I have on hand...

PC Specs:
Intel Core i5 3570K @ 4.6ghz
Nvidia GeForce GTX 760
Windows 7 x64

History

#1 Updated by MayImilae over 5 years ago

Correction:

  1. Have the Dolphin gamelist and options window in the same display that the game will be run upon, such as a single monitor system

#2 Updated by MayImilae over 5 years ago

  • Subject changed from Frame Compression window appears behind other windows to Dialog boxes appear beneath fullscreen (both OGL and D3D though differently)

I've completed my bisecting! First of all, it behaves different in OpenGL and D3D.

In OpenGL is behaves as described above, the first dialog box will appear, but the second will not. So when using framedump and a framedump0.avi is present, the first dialog box about overriding will appear, and the second will not, resulting in what appears to be a hang. Here is the bisecting, in addition to what is above...

OGL 4.0-2396 - Not Broken
OGL 4.0-2400 - Not Broken
OGL 4.0-2408 - Broken
OGL 4.0-2426 - Broken

4.0-2408 is primarily about the vertex loader, but it changes a lot of WX things, so it might be related. And to reiterate, I tested exclusive fullscreen and borderless and it happens in both.

Reproducing it is the same, but I'm going to revise it to make it more precise.

  1. Disable any secondary monitors so dialog boxes can only appear on the display that will be in fullscreen
  2. Portable.txt to avoid any settings problems.
  3. Have a "framedump0.avi" file already in the Dolphin Emulator\Dump\Frames folder. Dolphin creates one even if you press cancel on the compression screen, so just run a game with framedump once in order to create one
  4. Turn on "Use Fullscreen"
  5. Turn on "Dump Frames"
  6. Run any game

°

In D3D, it shows no dialog boxes whatsoever in fullscreen! Well, if framedump0.avi exists. If one doesn't the dialog will appear, but if not then neither appears. Which is... weird. Anyway, so in the dumping frames example, it shows the shows the taskbar over the fullscreen window, like it's trying to switch to something, but doesn't actually show the dialog boxes, it just shows a black screen as the emulator waits for confirmation.

Curiously, 4.0-2408 does not cause any issues in D3D, and the dialog boxes continue to work normally until months later. Here's the bisecting...

D3D 4.0-2400 - Not Broken
D3D 4.0-3258 - Not Broken
D3D 4.0-4784 - Not Broken
D3D 4.0-5147 - Not Broken
D3D 4.0-5154 - Not Broken
D3D 4.0-5159 - Broken
D3D 4.0-5222 - Broken
D3D 4.0-5287 - Broken
D3D 4.0-5456 - Broken
D3D 4.0-6204 - Broken
D3D 4.0-7373 - Broken

4.0-5159 doesn't really have anything WX in it, but it's possible it broke it in some other way. It's beyond my understanding...

Reproducing it is the same as above, just with D3D.

  1. Disable any secondary monitors so dialog boxes can only appear on the display that will be in fullscreen
  2. Portable.txt to avoid any settings problems.
  3. Switch to D3D
  4. Have a "framedump0.avi" file already in the Dolphin Emulator\Dump\Frames folder. Dolphin creates one even if you press cancel on the compression screen, so just run a game with framedump once in order to create one
  5. Turn on "Use Fullscreen"
  6. Turn on "Dump Frames"
  7. Run any game

Also available in: Atom PDF