Files crashes when view changed with contents of empty folder selected
Bug #1184104 reported by
Jeremy Wootten
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Files |
Fix Released
|
High
|
Julián Unrrein |
Bug Description
To reproduce bug:
1) Switch to list view
2) Navigate to a folder that contains an empty sub-folder
3) Select the empty folder and click the expand arrow
4) Select the blank line that appears
5) Double-click the empty folder ("This folder is empty" message displays)
6) Switch to icon view
Files crashes with a segmentation fault
Installed version is 0.1-0~r1190+
Crash does not occur if the empty folder is not expanded.
Related branches
lp:~junrrein/pantheon-files/fix-1184104-yeah
- Victor Martinez (community): Approve
- elementary Apps team: Pending requested
-
Diff: 59 lines (+17/-0)2 files modifiedsrc/fm-list-view.c (+16/-0)
src/fm-list-view.h (+1/-0)
Changed in pantheon-files: | |
assignee: | nobody → Jeremy Wootten (jeremywootten) |
Changed in pantheon-files: | |
assignee: | Jeremy Wootten (jeremywootten) → Julián Unrrein (junrrein) |
status: | Confirmed → In Progress |
Changed in pantheon-files: | |
milestone: | none → luna-rc1 |
Changed in pantheon-files: | |
status: | In Progress → Fix Released |
importance: | Undecided → High |
To post a comment you must log in.
Fixed by:
1) fm_directory_view: directory_ done_loading_ callback now checks for valid view thumbs_ loaded_ callback now checks for valid view
2) fm_directory_view: directory_
Also fixes misdimensioned array in ViewContainer: plugin_ directory_ loaded.