Skip to content

Map Popouts don't render anything and break the main window's map rendering #39

@FramePerfection

Description

@FramePerfection

Describe the bug
"Popout" windows created in the map tab do not render any content and may corrupt the rendering of the main map tab.

To Reproduce
Steps to reproduce the behavior:

  1. Launch STROOP
  2. Connect to an emulator or bypass
  3. Open the Map Tab
  4. Right click on the main window's map panel and select Open Popout
  5. Resize the opened window a couple of times to be smaller than the main window's map panel
  6. Drag the view in the main window's map panel
  7. Experience potential epilepsy from corrupted rendering (most likely framebuffer swapping shenanigans).

Used Versions:

  • STROOP Version: 0.7.1
  • Emulator: mupen64
  • Emulator Version: Irrelevant
  • OS: Windows 10

Additional context
The issue appears to be related to context sharing and buffer swapping in OpenGL, particularly using OpenTK.GLControl.
These resources may be helpful in an attempt to fix the issue:

It may also be worth trying out a previous version of the OpenTK.Control and OpenTK NuGet packages pre 4.0, respectively (if possible), to see if the buggy behavior stems from a change between these package versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions