Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Off-screen Preview Window crashes xlights #2946

Closed
bluecreeklightguy opened this issue Nov 19, 2021 · 3 comments
Closed

Off-screen Preview Window crashes xlights #2946

bluecreeklightguy opened this issue Nov 19, 2021 · 3 comments

Comments

@bluecreeklightguy
Copy link

NOTE: IF YOU DO NOT ATTACH A SEQUENCE THAT DEMONSTRATES YOUR PROBLEM THEN THERE IS A HIGH PROBABILITY YOUR ISSUE WILL JUST BE CLOSED AND NOT INVESTIGATED.

Describe the bug
I've run into this bug for quite some time (a couple of years, dating back to 2019; may have existed earlier, but this is when I began encountering it), but worked around it. Tonight, it dawned on me to check the .xml file and I think I found the issue.

When you attempt to open a preview window has its title bar off screen (for me it happened on my second monitor), xlights crashes. I found the location setting in the rgbeffects.xml file (attached). I manually edited the PosX and PosY values to something on screen, reopened xlights, tried to reopen the preview, and it worked.

I suspect this happens when, on one setup, a second monitor is arranged at a certain height, compared to the main monitor. And then, when you move to another setup, where the second monitor is lower, compared to the main monitor, the preview is left off screen and unable to be moved because the title bar isn't visible.

To Reproduce
Steps to reproduce the behavior:
(and/or link to a short video showing the problem with audio track describing what you are doing)

  1. Within xlights, click on the Sequencer tab. No need to have a sequence open.
  2. Select the View menu item, then Previews, then select a preview that is off screen so far that the title bar isn't visible (so can't be grabbed and moved back on screen).
  3. xlights crashes every time I try this.

Expected behavior
I would expect xlights to redraw the window to a location on screen (maybe upper-left corner).

Screenshots
If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

  • OS: Windows10
  • xLights version 2021.37

Additional context
rgbeffects.xml file is attached. the "problem" preview is called "Neighborhood". You can see that PosX and PosY are -1025 and -586, respectively.

Attachments
xlights_rgbeffects.xml
crash log

xlights_rgbeffects.zip
xLightsProblem.zip

@keithsw1111
Copy link
Collaborator

The problem is more likely a video card issue on your computer.

@bluecreeklightguy
Copy link
Author

bluecreeklightguy commented Nov 19, 2021 via email

@cybercop23
Copy link
Collaborator

Can this be closed?

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

No branches or pull requests

3 participants