File Manager extension causes a crash when viewing empty directories

Bug #1152182 reported by jogu
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Scratch
Fix Released
High
Jeremy Wootten

Bug Description

The File manager extension causes a crash when viewing an empty directory. When you expand an empty directory there's a single child with no name and an icon. Clicking this entry causes scratch to close.

Related branches

Revision history for this message
jogu (jogu-sd) wrote :

Screenshot of an empty directory (Public)

Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

Fixed marlincore.vala so that dummy row in treeview is not rendered and cannot be selected.

Revision history for this message
Cody Garver (codygarver) wrote :

Hey Jeremy, thanks for the submission. Please submit it in the form of a patch.

bzr branch lp:pantheon-files
cd pantheon-files
# make changes
bzr diff > ~/pantheon-files-fix-1152182.diff
# attach diff to this bug.

Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

Here is patch in diff form

Revision history for this message
Mario Guerriero (mefrio-g) wrote :

Hey Jeremy I am going to push a rewrite of Scratch source code which will include an API break for plugins. As soon as you will notice it, you could patch your fix to fit the new scratch's version. Anyway thank you for the fix!

Changed in scratch:
status: New → Confirmed
importance: Undecided → High
milestone: none → 1.2
assignee: nobody → Jordan Guymon (jogu-sd)
assignee: Jordan Guymon (jogu-sd) → Jeremy Wootten (jeremywootten)
Revision history for this message
Jeremy Wootten (jeremywootten) wrote : Re: [Bug 1152182] Re: File Manager extension causes a crash when viewing empty directories

OK, thanks. I'll look out for the change.

On 20 April 2013 20:10, Mario Guerriero <email address hidden> wrote:

> Hey Jeremy I am going to push a rewrite of Scratch source code which
> will include an API break for plugins. As soon as you will notice it,
> you could patch your fix to fit the new scratch's version. Anyway thank
> you for the fix!
>
> ** Changed in: scratch
> Status: New => Confirmed
>
> ** Changed in: scratch
> Importance: Undecided => High
>
> ** Changed in: scratch
> Milestone: None => 1.2
>
> ** Changed in: scratch
> Assignee: (unassigned) => Jordan Guymon (jogu-sd)
>
> ** Changed in: scratch
> Assignee: Jordan Guymon (jogu-sd) => Jeremy Wootten (jeremywootten)
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1152182
>
> Title:
> File Manager extension causes a crash when viewing empty directories
>
> Status in Scratch:
> Confirmed
>
> Bug description:
> The File manager extension causes a crash when viewing an empty
> directory. When you expand an empty directory there's a single child
> with no name and an icon. Clicking this entry causes scratch to close.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/scratch/+bug/1152182/+subscriptions
>

--
Jeremy Wootten
GPG Key ID CB585BCD
Key Fingerprint 37C0 3C2A A6D4 E45B BA7C 4328 2DF2 1882 CB58 5BCD

Revision history for this message
Mario Guerriero (mefrio-g) wrote :

hey I noticed that your patch can be applied to the branch with the scratch's rewrite and I did it. Thank you! :)

Changed in scratch:
status: Confirmed → In Progress
Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

thanks Mario.

Incidentally, I looked at bug 1093352 and had a simple patch which fixed
the tab width to a constant value (hard coded). I was looking into whether
you could replace the Gtk.Notebook with a Granite.Widgets.DynamicNotebook
to achieve the same thing but with a variable equal width the same as
Terminal etc. This would also improve consistency with other parts of
Pantheon, but may not be very straightforward. Is this a good idea?

 I see that you have adopted this bug now anyway.

Being new to this collaborative development game, I an not sure of the
correct procedure if I want to work on a bug?

On 28 April 2013 18:53, Mario Guerriero <email address hidden> wrote:

> hey I noticed that your patch can be applied to the branch with the
> scratch's rewrite and I did it. Thank you! :)
>
> ** Changed in: scratch
> Status: Confirmed => In Progress
>
> ** Branch linked: lp:~mefrio-g/scratch/rework
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1152182
>
> Title:
> File Manager extension causes a crash when viewing empty directories
>
> Status in Scratch:
> In Progress
>
> Bug description:
> The File manager extension causes a crash when viewing an empty
> directory. When you expand an empty directory there's a single child
> with no name and an icon. Clicking this entry causes scratch to close.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/scratch/+bug/1152182/+subscriptions
>

--
Jeremy Wootten
GPG Key ID CB585BCD
Key Fingerprint 37C0 3C2A A6D4 E45B BA7C 4328 2DF2 1882 CB58 5BCD

Changed in scratch:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.