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

Make screenshot tests work with tiling window managers. #66

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dolda2000
Copy link

On some window managers, notably tiling ones, a resizable window will automatically be resized from its default size, which makes the screenshot comparison tests fail. Making the JFrame non-resizable fixes the issue.

@SWinxy
Copy link
Collaborator

SWinxy commented Dec 30, 2023

Hi @dolda2000. Which platforms is the test failing on because it's resizable?

@dolda2000
Copy link
Author

dolda2000 commented Dec 30, 2023

@SWinxy My particular configuration is StumpWM on X11/Linux, but I'd imagine most tiling window managers would behave the same.

@SWinxy
Copy link
Collaborator

SWinxy commented Dec 30, 2023

I'm having quite the issue installing StumpWM on my VM. The lisp interpreter the GitHub README gives an error. I've never used lisp before, but I'll give it another shot another day.

@dolda2000
Copy link
Author

If you want another tiling WM, you can probably try ratpoison instead. I haven't specifically tried this case on it, but I know how it works from having used it previously, and I'd be extremely surprised if it doesn't elicit the same problem. It's an ordinary, standalone C program, so it shouldn't give too much trouble.

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.

2 participants