Skip to content

Fix crash when loading large file lists - #90

Open
Jens-Olaf-Mueller wants to merge 1 commit into
linuxmint:masterfrom
Jens-Olaf-Mueller:fix-large-file-list
Open

Fix crash when loading large file lists#90
Jens-Olaf-Mueller wants to merge 1 commit into
linuxmint:masterfrom
Jens-Olaf-Mueller:fix-large-file-list

Conversation

@Jens-Olaf-Mueller

Copy link
Copy Markdown

Fixes #31.

The GtkTreeView was unnecessarily wrapped in a GtkViewport, although GtkTreeView already implements GtkScrollable.

With large file lists, this caused an X11 BadAlloc error in the MIT-SHM path and terminated Bulky without an application error message.

This change makes the GtkTreeView a direct child of the existing GtkScrolledWindow.

Tested successfully with 2,033 files:

  • loading the complete file list
  • scrolling through the list
  • rename preview with automatic numbering
  • two actual rename operations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Crashing if large number of files added (BadAlloc)

1 participant