Skip to content

X Error of failed request: BadMatch (invalid parameter attributes) when changing width of GUI #5

Description

@dmosher42

When I tried to change the width of the tools gui, the program would crash and I would get the following error:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  73 (X_GetImage)
  Serial number of failed request:  29533
  Current serial number in output stream:  29533
Segmentation fault

The solution I found is quite simple. In src/gui.py change

        self.width = mx//4

to

        self.width = mx

For me, this also had the added benefit that the tools gui would start at a width that showed all menu items.

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