Skip to content

DesktopName fails to set desktop name under described circumstances #606

@NsCDE

Description

@NsCDE
  • Fvwm3 version (run: fvwm3 --version)

1.0.4

  • Linux distribution or BSD name/version

Fedora 33, OpenBSD, MX Linux ...

Tried with vanilla fvwm3 config with FvwmMFL enabled for FvwmCommand tests.

Expected Behaviour

DesktopName command to set new desktop name always when called.

Actual Behaviour

DesktopName works, but only so far until it is not called multiple times with the same string of name value. After that, it seems as multiple calls to DesktopName are "carving" value and it is harder to replace it.

Steps to Reproduce

After a clean log in, this should work:

FvwmCommand 'DesktopName 2 Brandy'

... result can be observed with wmctrl -d or watching fvwm log if enabled with MFL socket and SIGUSR2.

To trigger the bug:

FvwmCommand 'DesktopName 2 Brandy'
FvwmCommand 'DesktopName 2 Brandy'
FvwmCommand 'DesktopName 2 Brandy'

... after that:

FvwmCommand 'DesktopName 2 Gin'

... Desktop 2 name is still "Brandy". If repeated 3 (or 4?) times, it will finally change desktop 2 name. The more of the same name set in a row (Brandy) the more change attempts (Gin) are needed to change it.

  • Does the problem also happen with Fvwm2?

Tried. No.

Does Fvwm3 crash?

No.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething's broken!

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions