Duplicate entries shown for documents on SD card (BQ E4.5)

Bug #1477713 reported by TenLeftFingers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Document Viewer App
Fix Released
Critical
Stefano Verzegnassi

Bug Description

Proceedure:
Add some PDF documents to an SD card.

Actual:
Most of them show up twice in the Documents apllication.

Expected:
They should only show once.

Consideration: I thought maybe they were being duplicated on the filesystem somehow so I deleted an individual document from the SD card and both entries disaappeared in the app.

Tags: bitesize

Related branches

Revision history for this message
Stefano Verzegnassi (verzegnassi-stefano) wrote :

Hi,

Thank you for reporting this issue.

This is not the first time I hear/see this bug. It got my attention some days ago when I was having a look at the official Core Apps page[1] on the Ubuntu Developer website.

This issue hasn't been noticed when the code that handles SD card has been merged in the main development branch, so ATM I tend to agree with your consideration.
Requires further investigations though.

Anyway it may take some time before the issue is fixed, since I currently don't have a device with an SD card slot (I should get one next week) and everything works well on desktop (which is the only platform on which I can test it, ATM).

Since there's an official screenshot that attests the bug, I'm going to mark it as 'confirmed'.

[1] https://developer.ubuntu.com/en/community/core-apps/docviewer/

Changed in ubuntu-docviewer-app:
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
TenLeftFingers (tenleftfingers) wrote : Re: [Bug 1477713] Re: Duplicate entries shown for documents on SD card (BQ E4.5)

Thanks Stefano, and thanks for a great app. I'm loading 300+ page PDF
comics here and it still performs nicely on the BQ :)

On Thu, Jul 23, 2015 at 8:01 PM, Stefano Verzegnassi <
<email address hidden>> wrote:

> Hi,
>
> Thank you for reporting this issue.
>
> This is not the first time I hear/see this bug. It got my attention some
> days ago when I was having a look at the official Core Apps page[1] on
> the Ubuntu Developer website.
>
> This issue hasn't been noticed when the code that handles SD card has been
> merged in the main development branch, so ATM I tend to agree with your
> consideration.
> Requires further investigations though.
>
> Anyway it may take some time before the issue is fixed, since I
> currently don't have a device with an SD card slot (I should get one
> next week) and everything works well on desktop (which is the only
> platform on which I can test it, ATM).
>
> Since there's an official screenshot that attests the bug, I'm going to
> mark it as 'confirmed'.
>
> [1] https://developer.ubuntu.com/en/community/core-apps/docviewer/
>
> ** Changed in: ubuntu-docviewer-app
> Status: New => Confirmed
>
> ** Changed in: ubuntu-docviewer-app
> Importance: Undecided => Critical
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1477713
>
> Title:
> Duplicate entries shown for documents on SD card (BQ E4.5)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu-docviewer-app/+bug/1477713/+subscriptions
>

Revision history for this message
Stefano Verzegnassi (verzegnassi-stefano) wrote :

I had a look at the issue today and it's a very "dumb" bug. :)

I've run "df -T" command from the shell, in order to see the format of the SD card file system and discovered that it's formatted as VFAT, which is not case sensitive.

Link to the log of df: http://paste.ubuntu.com/11960806/
( the mount point of the SD card in the log is /media/phablet/E536-7B77 )

The model that generates the list of available documents checks if the "[SD_CARÐ]/Documents" path exists, then it checks for "[SD_CARÐ]/documents".
This was meant to work with desktops in mind, since in a Linux enviroment ext3/ext4 is used in most cases (this filesystem is case sensitive) but, removal medias, for compatibility reasons, use a FAT instead.

A fix for this issue does not require much time, and will be included in the next update of docviewer, which is scheduled for the next week.

Thank you for opening this report!

Changed in ubuntu-docviewer-app:
status: Confirmed → In Progress
assignee: nobody → Stefano Verzegnassi (verzegnassi-stefano)
tags: added: bitesize
Revision history for this message
TenLeftFingers (tenleftfingers) wrote :

That's fantastic Stefano! Thank you for your work. :)

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-docviewer-app at revision 180, scheduled for release in ubuntu-docviewer-app, milestone 2014-10-30

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

Other bug subscribers

Remote bug watches

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