Skip to content

[Regression] Loaded files sort order changes after a bit of zoom-in/zoom-out of current picture #822

@Aditya-Tolikar

Description

@Aditya-Tolikar

Environment:

  • OS: Arch Linux
  • qView version: qview-git (AUR)

Information:

STEPS TO REPRODUCE

  1. open a folder with multiple images
  2. use the "Next File" action
  3. zoom-in and zoom-out a bit or do other actions that cause a change in image display size (like full-screen or change window size)
  4. again use "Next File" action (or "Previous File" action)

OBSERVATION

The next file selected ends up being an unexpected one. Even the previous file is no longer what it was before enacting step 3. As if the file sort order is changed.

Relevant Settings: Sort files by: Name; Ascending

ADDITIONAL INFORMATION:

  • "Not sorting folder" in stderr at the "Next File" action instance where the bug occurs
  • Listing contents of currentFileDetails.folderFileInfoList at the end of void QVImageCore::updateFolderInfo(QString dirPath) using qDebug will indicate that the sort order has indeed changed.
  • Relevant commit: ae61349

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions