Bugs

Taskbar window in opposite screen

5mo agoClosed

Hi. I have been using Sumatra for a while on Windows 11 and i have noticed this bug: I have 2 screens, and have enabled the option of "When using multiple displays, show my taskbar apps on: Taskbar where window is open". From this setup, Sumatra does the opposite. If I have Sumatra on screen 1, the taskbar where the app shows is Screen 2, and vice versa. This is the only app with this behaviour. Thanks!

4 comments

  1. Krzysztof Kowalczyk marked this as Closed17d ago
  2. Anonymous17d ago

    Hi. OP here. As ADITYA comments, i have the issue with the 3.6.1 version (Win 11, 64b), but once I dowloaded the pre-release (3.7) problem does not reproduce. I have uninstalled 3.7 and gone back to 3.6.1 to try to reproduce issue again:

    Previously, with tabs as true (default by the app) -If I open sumatra on screen 1, the taskbar icon is in screen 2. If i switch, the icon switches as well (sumatra on screen 2, icon on screen 1).

    Now that I changed to false, if I have more than one PDF open: -The individual PDF icon follows the window to the screen where it goes most of the time. Sometimes i have to drag it back and do it one more time so the icon follows me. I would say 3 out of 4 times it follows me

    After going back to tabs: true -The common sumatra taskbar icon follows me probably 1 out of 3 times. just trying it now. sometimes it follows, sometimes it doesn't

  3. Thanks for the report. I can't reproduce this yet because I only have one monitor here, so a few details would help narrow it down:

    1. Which version are you using? (Copy it from Help > About.) Does it also happen with the latest pre-release: https://www.sumatrapdfreader.org/prerelease

    2. Does it depend on when you look at the taskbar? - Start SumatraPDF with its window on screen 1. Which taskbar shows the button? - Drag the window to screen 2. Does the button move, stay where it was, or switch to the other taskbar?

    3. Does it still happen with tabs turned off? Open Advanced Options (Ctrl + K, then type "Advanced Options"), set `UseTabs = false`, save, and restart SumatraPDF. Set it back to `true` afterwards.

    The third one matters most: with tabs on, SumatraPDF draws its own title bar, which is the main thing it does differently from other apps.

    1. Facing the same.

      1. Version: SumatraPDF [3.6.1], [installer], 64-bit, Windows 11 25H2.

      2. Window placement: - On first app start placement is correct but once we change window position, But not once we change the position. - Window on screen 1: the taskbar button appears on screen 2's taskbar. - Dragged to screen 2: the button moves to screen 1's taskbar.

      3. UseTabs = false (restarted): still reproduces.

      Should open issue on GitHub?

    2. First upgrade to 3.7 pre-release. Only if it happens there open github issue.