Skip to content

Fix for [ #193 ] viewer goes black if the window is dragged from one screen to another.#195

Open
richardssam wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
richardssam:osx-drag-window-fix_v2
Open

Fix for [ #193 ] viewer goes black if the window is dragged from one screen to another.#195
richardssam wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
richardssam:osx-drag-window-fix_v2

Conversation

@richardssam
Copy link
Contributor

Pull Request Osx drag window across screen fix.

[ #193 ] This addresses the issue where the viewer goes black if the window is dragged from one screen to another.

Summarize your change.

The playlist window appears to be configured for a single screen, when you drag the window from one screen to another it will go black, if you drag it back it will become visible again.

I'm using the OnVisibleChanged signal to catch that something has happened, and reinitialize the viewport.

Describe what you have tested and on which operating system.

This has only been tested on OSX, I do not know if there might be issues on windows or linux.

Add a list of changes, and note any that might need special attention during the review.

This seems to work, but while I have a fair bit of experience with PySide I don't have experience with these frameworks, so I could be missing something. There is some logging code, that could go, but it seems like it would be useful for testing on other platforms.

…ndow is dragged from one screen to another on osx.

Signed-off-by: Sam.Richards@taurich.org <Sam.Richards@taurich.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant