fvwmorg/fvwm3

FvwmPager: Restart shows incorrect second monitor state

Opened this issue · 0 comments

Upfront Information

  • Fvwm3 version (run: fvwm3 --version): fvwm3 1.1.1 (1.1.0-89-g3ce31b32e-dirty)

  • Linux distribution or BSD name/version: Debian 12/bookworm

  • Platform (run: uname -sp): Linux unknown

Expected Behaviour

Upon triggering Restart all FvwmPager pages, no matter the desk or page, should display state correctly.

Actual Behaviour

With the default-config, viewing Page 1 (out of 0 1 2 3) upon triggering Restart, FvwmPager incorrectly shows that Page 0 is active, when Page 1 is still active. Clicking the 1 causes no change, but upon activating any other page the shown state updates correctly.

With a more complex Page/Desk setup an extra issue of some applications being attributed to Page 0,0 is also evident. Again, once the active Page (for the relevant Desk) is changed, the state updates to showing correctly.

Enabling logging

Steps to Reproduce

This is using /usr/share/fvwm3/default-config/config as per a build of a Debian package from the upstream source with https://github.com/somiaj/fvwm3-debian.git debian/ files for the build.

With a slightly more complex configuration that has:

  1. Two desks, one per monitor.
  2. 3x2 pages on each desk.
  3. DesktopConfiguration shared.

This also has the "incorrect page shown active", but the outcome is worse in that now at least some of the application windows are shown piled up in page 0,0 of desk 1, rather than on their appropriate pages. Weirdly it's not always all of them. Again, this corrects when the viewed page is changed on that desk.

Does Fvwm3 crash?

No crashes.

Extra Information

fvwm3-output.log showed nothing of interest.

Videos:

  1. Using default-config - https://github.com/user-attachments/assets/04f619b1-e000-401e-9feb-5db1a4f072cd
  2. Using a minimal config for 3x2 pages / two desks - https://github.com/user-attachments/assets/4675fcd1-6918-4fe4-b99a-72d490920f26
  3. Configuration for the 3x2 page on each of two desks is: issue-1082-min-config.d.tar.gz