Skip to content

new_desk from FvwmEvent rapidly fires/executes causing mouse cursor flicker and other side effects #1276

@dumblob

Description

@dumblob

Thanks for reporting your bug here! The following template will help with
giving as much information as possible so that it's easier to diagnose and
fix.

Upfront Information

Please provide the following information by running the command and providing
the output.

  • Fvwm3 version (run: fvwm3 --version)
    fvwm3 1.1.5 (1.1.4-7-ga8d2bfbff)
    with support for: XPM, PNG, SVG, Shape, XShm, SM, Bidi text, XRandR, XRender, XCursor, XFT, XFixes, NLS

  • Linux distribution or BSD name/version
    Arch Linux

  • Platform (run: uname -sp)
    Linux abc 6.12.63-1-cachyos-lts Create fvwm.da.po #1 SMP PREEMPT_DYNAMIC Fri, 02 Jan 2026 23:51:56 +0000 x86_64 GNU/Linux

Expected Behaviour

What were you trying to do? Please explain the problem.

DestroyModuleConfig Pages0Events: *
*Pages0Events: Cmd
*Pages0Events: new_page MyFunc
KillModule FvwmEvent Pages0Events
Module FvwmEvent Pages0Events

This causes continuous endless massively rapid fire of MyFunc right after FVWM starts (i.e. without switching pages at all!). Switching pages does not have any effect (is undistinguishable from the endless event fire).

Actual Behaviour

What should have happened, but didn't?

MyFunc should fire only when I switch pages as it used to be with 1.1.0.r71.gc71b01711 version I have been using so far.

Enabling logging

fvwm3 has a means of logging what it's doing. Enabling this when
reproducing the issue might help. To do this, either change the means fvwm3
is started by adding -v as in:

fvwm3 -v

or, once fvwm3 has loaded, send SIGUSR2 as in:

pkill -USR2 fvwm3

The resulting logfile can be found in $HOME/.fvwm/fvwm3-output.log

Steps to Reproduce

How can the problem be reproduced? For this, the following is helpful:

See above.

  • Reduce the problem to the smallest fvwm configuration example (where
    possible). Start with a blank config file (fvwm3 -f/dev/null) and go from
    there.

  • Does the problem also happen with Fvwm2?

No

Include your configuration with this issue.

Does Fvwm3 crash?

If fvwm3 crashes then check your system for a corefile. This is platform
dependant, however, check if:

  • corefiles are enabled (ulimit -c)
  • A corefile might be in $HOME or /tmp/.
  • If you're using Linux (with systemd), check coredumpctl list.
    coredumpctl may need installing separately.

If you find a corefile, install gdb and run:

gdb /path/to/fvwm3 /path/to/corefile

If you're using coredumpctl then use:

coredumpctl debug

Then from within the (gdb) prompt, issue:

bt full

... and include the output here.

Extra Information

  • Anything else we should know?

  • Feel free to take a screen capture or video and upload to this issue if you
    feel it would help.

  • Attach $HOME/.fvwm/fvwm3-output.log from the step above.

Metadata

Metadata

Assignees

Labels

type:bugSomething's broken!

Type

No type

Projects

Status

To do

Relationships

None yet

Development

No branches or pull requests

Issue actions