Skip to content

configure clips coordinates? #277

@gvb1234

Description

@gvb1234

I found some odd behaviour moving windows with window.configure.

I am trying to move a window to some new_x coordinate, with new_x less than screen width, but new_x+window.width more than screen width (so some right part of the window should be off screen after the move).

If part of the window is already off screen (but not at x=new_x) when I do window.configure(x=new_x,...), this works as intended: window gets moved to x=new_x and is still partially hidden.

If the whole window is visible on screen, window.configure(x=new_x,...) only moves the window so that its right edge is on the right side of the screen, so the whole window is still visible on screen, and not partially hidden. In particular, window.x is not the intended new_x.

This is in contrast to, say, moving the window with wmctrl. Any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions