Skip to content

Window don't redraw when resized #42

@emmt

Description

@emmt

I tried Giza on Linux and noticed that a graphic window is erased when it is resized (except when an interactive routine as giza_band is running). However plotting something else, restore all the plot, but as if the window has not changed in size. When the resizing does not erase the window, the plot does not adjust to the new size of the window.

The redraw/erase issue may be due to the fact that the X event loop must have the opportunity to process some events. Do you have any advice for how to do that?

It would be nice to have the plot automatically adjusts to the window size (possibly with a flag to specify whether aspect ratio should be preserved or not).

I can help on both points.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions