[Windows] Run/Close Content while the taskbar is on top and not hidden causes Retroarch to migrate up the screen
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Description
This one is kind of weird. When performing any action that causes the window to close and reopen (Run Content, Close Content, etc.) AND the taskbar location is set to "top" without hiding, Retroarch reappears ~50 pixels higher instead of in the same place. When the taskbar is in any other position (left, right, bottom) or when it is on the top but hidden, Retroarch reappears in the correct position. It's only when the taskbar is on the top and not hidden that this occurs.
Expected behavior
I expect the window to disappear and reappear in the same place, as so:
Actual behavior
Instead, the window reappears a little higher on the monitor, eventually putting itself under the taskbar or off the top of the screen. Here's an example:
Steps to reproduce the bug
- Move your taskbar to the top of your monitor, either by dragging or through the taskbar settings.
- In your taskbar settings, ensure "Automatically hide taskbar in desktop mode" is unchecked.
- Open Retroarch and select a game.
- Starting or closing out of a game should cause the described bug.
Bisect Results
I've had this issue for years, and I'm not aware of a time I haven't experienced this bug. I only brought it forward now because I realized it might be a Retroarch problem and not a Windows problem (though it might be that).
Version/Commit
You can find this information under Information/System Information
- RetroArch: version 5e551dd92b
Environment information
- OS: Windows 10 build 19042
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Windows 10 with the taskbar positioned at the top and not hidden, then compare the window position before and after Run Content or Close Content. Trace the close-and-reopen window positioning path and verify that the window returns to the same location without moving under or off the taskbar.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100