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

Magick::Image::display works only once #6662

Closed
mmomtchev opened this issue Sep 21, 2023 · 1 comment
Closed

Magick::Image::display works only once #6662

mmomtchev opened this issue Sep 21, 2023 · 1 comment

Comments

@mmomtchev
Copy link
Contributor

ImageMagick version

7.1.1-17

Operating system

Linux

Operating system, version and so on

Ubuntu 22.04

Description

Magick::Image::display works only once

The second time a number of pointers in windows will be null:

visual_info=windows->visual_info;

visual_info is initialized correctly only when the X subsystem is initialized, it is null on the subsequent calls.

Steps to Reproduce

Magick::Image im("50x50", "black");
im.display();
// close the window via the window manager
im.display();

Images

No response

@urban-warrior
Copy link
Member

urban-warrior commented Sep 21, 2023

We can reproduce the issue. We'll need a few days to analyze the issue and export a proper patch. Refer to a9ff2e4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants