Skip to content

Multi screen: The program will crash on splash screen outside of the current screen if the previously cached screen aren't available #1188

@dev-joaovitor

Description

@dev-joaovitor

Pixelorama version: 1.0.5-stable

Where did you download Pixelorama from? GitHub Releases

OS/device including version: OS: Windows 11 Pro 10.0.26100 Build 26100, Graphics: Intel(R) Iris(R) Xe Graphics

Issue description:
Hey guys! I was using Pixelorama at work on my extra monitor (i have a laptop), once i finished using it, i closed it and later opened it again but without using this extra monitor but something happened (or didn't).

After the splash screen, i could not see the window and neither close it normally, needed to use the Task Manager.

Even if i focus on the program on task bar, i couldn't move the window around using Alt + Arrows like i'd normally do, it was annoying.

I can't test on my linux desktop at home because i don't have an external monitor, but you guys could and say if it happens there too.

I've already checked out the source code and made a small change that could fix it, at least i tried and it worked.

I'm opening a pull request along with this issue.

Thanks in advance, this tool is great!

Steps to reproduce:

  1. Open the program
  2. Move it to an external monitor
  3. Close the program
  4. Disconnect the external monitor
  5. Try to open the program again and voila!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions