Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fullscreen mode: Switching between Horizontal and Vertical scrolling ListBox alignment offset #3385

Open
zeroantix opened this issue Apr 22, 2023 · 0 comments
Labels

Comments

@zeroantix
Copy link

Bug Description

Hi Josef,

Previously closed and mention(s) of this bug:

Fullscreen mode: Switching between Horizontal and vertical scrolling bugs the views. #1274 and https://discord.com/channels/365863063296933888/403841633310867456/704632646210420866

From my observation, this alignment issue, at least the offset to the left, happens when the user exceeds (but no more than double) the number of columns set for horizontal scrolling and switches to vertical scrolling within this parameter.

Let me (attempt to) explain..

To Reproduce

  1. Set the number of columns to 7.
  2. From and including the very first item in the list, move to the 8th item to the right and keep this item selected.
  3. Switch to Vertical scrolling.
  4. The ListBox is now aligned offscreen, to the left.
  5. Switch back to Horizontal scrolling.
  6. Repeat step 2 but move 9th item to the right.
  7. Repeat step 3.
  8. Similar result to step 4, but this time the Listbox is even more off screen.

You can repeat the above by moving 10 items, 11 items all the way to 14th (double the set column value) - which seems to be the threshold. Each time the ListBox alignment is further offscreen to the left the closer you get to the double amount of the set number of columns and switch. Once you cycle past double the amount of columns set, in this example the 15th item onwards the alignment bug doesn't happen,

You can even try this with 6 colums set - move to the 7th item, switch to Vertical scrolling and the alignment is off - it'll be like this all way upto an including the 12th item. Once passed (item 13 onwards), the alignment is normal.

Hope that all makes sense? And apologies if this is a WPF issue, as the previous raised bug mentions it was closed as per conversation on Discord, but I couldn't find any specific of outcome.

I've included screenshots from the Default Theme below, latest Playnite release.

Diagnostics ID

#N/A

Screenshots

# of Columns set to 7 screenshots -

9th Item Selected (switch to Vertical)
7 Columns - 9th Item

14th Item Selected (switch to Vertical)
7 Columns - 14th Item

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant