selection of the photo is faulty: one out of two (even or odd numbers)

Bug #1002774 reported by cbolleng
106
This bug affects 17 people
Affects Status Importance Assigned to Milestone
Rapid Photo Downloader
Status tracked in Pyqt
Pyqt
Fix Released
Low
Damon Lynch

Bug Description

When I select photos, I make a rectangular selection (with the shift-button). While the photos are highlighted, I click on one of the checkboxes to check all the selected photos. It was working properly on the 0.4.2 version, but on the 0.4.3, it selects only one picture out of two. When you click a second time on the checkbox, then, it selects the others, but always one out of two.
So I can't select the photos on a rectangular selection, or I should do it one by one.

I'm using 0.4.3 on Ubuntu 12.04.

Related branches

Revision history for this message
cbolleng (cbolleng) wrote :
Revision history for this message
Damon Lynch (dlynch3) wrote :

I cannot replicate this bug. It works fine for me. To assist in fixing this bug, you'll need to replicate it and give the exact steps you took to replicate, one by one, in very clear fashion. Thanks.

Revision history for this message
cbolleng (cbolleng) wrote :

All right. The steps are:
- uncheck all
- make a rectangular selection by holding the SHIFT button: I select the first picture, I press SHIFT and hold it until I select the second picture. A rectangle is highlighted.
- then I check the checkbox of one of the selected photo.
- Normally, all the selected pictures should be checked. But here, only the second, the fourth, the sixth, etc ... are checked
- Then two cases:
     1/ if I check a picture with an odd number (one of the unchecked pictures), then nothing happens
     2/ if I check a picture with an even number (one of the already checked pictures, which means the second, or fourth, or sixth, etc ...), then the selection is inverted : the checked pictures are unchecked, the unchecked pictures are checked.

But I can't manage to have both odd and even pictures checked at the same time. This is annoying, I should select 400 photos one at a time,
This bug is new for me. It wasn't the case with older versions of RPD. I am running Ubuntu 12.04.

If this isn't clear enough, I could make a screencast of it.

cbolleng (cbolleng)
summary: - selection of the photo is faulty
+ selection of the photo is faulty: one out of two (even or odd numbers)
Revision history for this message
Damon Lynch (dlynch3) wrote : Re: [Bug 1002774] Re: selection of the photo is faulty

Thanks for the steps you took to reproduce it. However I cannot reproduce
it under Ubuntu 12.04 or even Kubuntu 12.04. It works just fine for me.

Revision history for this message
cbolleng (cbolleng) wrote :

Here the screencast of the bug : http://youtu.be/bUUdjBax5Cs

Revision history for this message
cbolleng (cbolleng) wrote :
Revision history for this message
Damon Lynch (dlynch3) wrote : Re: [Bug 1002774] Re: selection of the photo is faulty: one out of two (even or odd numbers)

Thanks for taking the time to demonstrate it. I am unable to replicate it
here. If it is not too much trouble, can you please run Ubuntu 12.04 from a
Live CD, install Rapid Photo Downloader from the PPA, and see if you can
replicate the bug with your photos and running in what I assume is French?

Revision history for this message
Damon Lynch (dlynch3) wrote :

Sorry but I will need to mark the bug as incomplete if I cannot get more information on how to replicate it. I simply cannot reproduce it.

Revision history for this message
cbolleng (cbolleng) wrote :

I installed Ubuntu 12.04 on an other computer, and erased the /home at the same time. RPD works properly with this configuration.

I suppose the problem is due to the fact that I installed 12.04 on my computer, keeping some configuration files of the /home (dating back from 11.10). Under some tricky conditions, the problem may appear and occur in RPD.
I think you can put it as incomplete. Thanks for your help (and sorry for the delay).

Revision history for this message
Damon Lynch (dlynch3) wrote :

I'm glad it is now working ok! And thanks for letting me know.

Changed in rapid:
status: New → Incomplete
Revision history for this message
Derek L (ddl-lp) wrote :

I also experience this bug, exactly as cbolleng describes it. I'm running Ubuntu 12.10 with gnome-shell 3.6 (otherwise a pretty stock installation), with RPD 0.4.5 installed from the standard Quantal software repository. I also had the bug while running Ubuntu 12.04 with RPD 0.4.5 installed via its PPA, but I held off on commenting then because I wanted to see if it would persist into the latest distro. Let me know if I can be helpful in debugging it.

Revision history for this message
Damon Lynch (dlynch3) wrote :

Thank you for letting me know. Would it be possible for you to make a
screen cast (desktop video) demonstrating the problem?

Revision history for this message
dreckkopf (dreckkopf) wrote :

I can confirm this problem. I use Ubuntu 13.04 and Rapid Photo Downloader 0.4.10. First I select by dragging with the mouse. Then I click on the selection box the top left thumbnail. As you can see the thumbnails jump down a little bit. Every second thumbnail gets a checkmark. Nothing happens when I click on the first thumbnail again. Nothing happens when I click on unchecked thumbnails. I can make the selection change by clicking on checked thumbnails. Only the first thumbnail shows absolutely no reaction to clicking.

Revision history for this message
Damon Lynch (dlynch3) wrote :

Thanks for the video. That makes the problem much clearer. I am unable to
replicate it under 14.04, however. Does it always exhibit this problem, or
just sometimes?

On Sat, Mar 8, 2014 at 8:24 PM, dreckkopf <email address hidden>wrote:

> I can confirm this problem. I use Ubuntu 13.04 and Rapid Photo
> Downloader 0.4.10. First I select by dragging with the mouse. Then I
> click on the selection box the top left thumbnail. As you can see the
> thumbnails jump down a little bit. Every second thumbnail gets a
> checkmark. Nothing happens when I click on the first thumbnail again.
> Nothing happens when I click on unchecked thumbnails. I can make the
> selection change by clicking on checked thumbnails. Only the first
> thumbnail shows absolutely no reaction to clicking.
>
> ** Attachment added: "Screencast"
>
> https://bugs.launchpad.net/rapid/+bug/1002774/+attachment/4013632/+files/Bildschirmaufnahme%202014-03-08%2016%3A12%3A53.mp4
>
> --
> You received this bug notification because you are subscribed to Rapid
> Photo Downloader.
> https://bugs.launchpad.net/bugs/1002774
>
> Title:
> selection of the photo is faulty: one out of two (even or odd numbers)
>
> Status in Rapid Photo Downloader:
> Incomplete
>
> Bug description:
> When I select photos, I make a rectangular selection (with the
> shift-button). While the photos are highlighted, I click on one of the
> checkboxes to check all the selected photos. It was working properly on the
> 0.4.2 version, but on the 0.4.3, it selects only one picture out of two.
> When you click a second time on the checkbox, then, it selects the others,
> but always one out of two.
> So I can't select the photos on a rectangular selection, or I should do
> it one by one.
>
> I'm using 0.4.3 on Ubuntu 12.04.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/rapid/+bug/1002774/+subscriptions
>

--
http://www.damonlynch.net

Revision history for this message
dreckkopf (dreckkopf) wrote :

Same behavior every time.

Revision history for this message
dreckkopf (dreckkopf) wrote :

I tested again on a different machine with a freshly installed 13.04. No problems here.

Revision history for this message
Damon Lynch (dlynch3) wrote :

Did you use the same /home or was it a new user? If it was a new user, the problem might be with the configuration files in your home directory.

Revision history for this message
dreckkopf (dreckkopf) wrote :

The problem occurs on my 12.04 desktop machine. On the new 13.04 notebook with new user settings everything is ok.

Which config files should I change/delete?
Deleting the file .gconf/apps/rapid-photo-downloader/%gconf.xml did not help.

Revision history for this message
Damon Lynch (dlynch3) wrote :

The problem is not with any configuration file in Rapid Photo Downloader
itself. The problem is elsewhere. I don't know what the cause of the
problem is. If it works with a fresh install, it indicates the problem is
probably in a configuration file in your home directory -- that is assuming
that some other software install has not somehow disturbed your regular
Ubuntu install.

Sometimes these things happen when you upgrade your Gnome configuration
from one version of Gnome to the next. In my case, I don't know why I have
no menu accelerators showing in my GTK programs. I'm almost certain there
is a bad setting somewhere in my home director settings, but I don't know
what it is!

Revision history for this message
2CV67 (2cv67) wrote :

I have exactly the same problem with RPD 0.4.10-1 in Ubuntu 14.04.1.

I just posted about it on Ubuntu Forum before finding this bug report:
http://ubuntuforums.org/showthread.php?t=2255925&p=13183359#post13183359

Revision history for this message
Damon Lynch (dlynch3) wrote :

It's extremely difficult to diagnose the bug when I cannot replicate it myself. Have you 2VC67 have you tried to see if the bug is still present if you use a new user with no configuration files left from previous distro installations? My guess is if you use a new user, the bug will not be present.

Revision history for this message
2CV67 (2cv67) wrote :

You are right.
With another user, but the same RPD & the same camera, everything works normally...

Completely removing & reinstalling RPD has no effect on the problem in my own user space.

Revision history for this message
rfrankel (rfrankel) wrote :

I had the same problem, on Ubuntu 14.04 with a fresh installation of RPD that I just pulled from the PPA (I've never used RPD before.)

Revision history for this message
Damon Lynch (dlynch3) wrote :

The next release of the program will be using Qt 5 instead of Gtk+. I anticipate this bug will be resolved by the change of toolkit.

Revision history for this message
Juan Alvarez (jualvarez) wrote :

This is still happening to me too. My current config is 15.10 (just upgraded from 15.04 but the problem was present then too), RPD 0.4.11. On a fresh user the problem does not seem to be present. I even replicated the same preferences.

I'm running on a Lenovo Yoga 2 Pro (HDPi display just in case it's relevant). Any idea which files I would need to touch in order to revert?

Thanks for your amazing work!

Revision history for this message
Damon Lynch (dlynch3) wrote :

Hi Juan Alverez, the problem is likely to be with some or rather configuration file found under ~/.config. It's either there, or an obscure gtk2 config file that comes from the days before the standard .config directory.

Revision history for this message
Damon Lynch (dlynch3) wrote :

I'm marking this as fix committed because I finally implemented multiple selection in what will eventually become the next release, which is written in Qt. Because it's written in Qt and not Gtk, this bug should not reappear.

Changed in rapid:
status: Incomplete → Fix Committed
importance: Undecided → Low
assignee: nobody → Damon Lynch (dlynch3)
Revision history for this message
Peter Teuben (teuben) wrote :

just for the record: I just upgraded from Ubuntu 14.10 where I ran version 0.4.2-1 ,
now I am at 16.04 LTS and version 0.4.11-1 and the selection of half the points is back I guess.

On my Ubuntu 15.10 with version 0.4.10 it does seem to work. But it turns out a non-trivial operation (at least with dpkg/apt) to install this version in U16.04

I'll try and install the latest 0.9 series manually.

Revision history for this message
Breta (bretacr) wrote :

Just for the record, I have RPD in ver. 0.4.11 and bug is still there.

Revision history for this message
Damon Lynch (dlynch3) wrote :

Just for the record, this is a bug found in Gtk+ 2, which is no longer developed or supported. Version 0.9 uses Qt instead of Gtk+, so the problem is not present.

Also if you reset your user account to use the default Gtk settings, the problem will not appear.

Revision history for this message
Peter Teuben (teuben) wrote :

As Damon already reported, with the new version (that uses Qt) this bug is gone, but I will say already I've been having some selection problems when dragging rectangular regions. I'm trying to decided if they are pilot errors, and subtle bugs. I highly recommend the new version though, it's nice in the sense it will remember what you've downloaded before, a big time saver.

On 10/30/2016 05:44 PM, Breta wrote:
> Just for the record, I have RPD in ver. 0.4.11 and bug is still there.
>

Revision history for this message
2CV67 (2cv67) wrote :

I am up to version 0.4.11-1 in Ubuntu 16.04 now & the bug is still there...

Could you clarify what I need to do (exactly) to "reset your user account to use the default Gtk settings, the problem will not appear"?

Thanks!

Revision history for this message
Damon Lynch (dlynch3) wrote :

Create a brand new user with the default theme, and not some random theme you may have downloaded from the Internet. Run Rapid Photo Downloader and see if you can replicate the issue.

To create a new user do this: https://help.ubuntu.com/lts/ubuntu-help/user-add.html

Revision history for this message
2CV67 (2cv67) wrote :

I already answered (2014-12-15 above) that a new, or another, user does not have the problem.

But I still don't know how to get RPD working correctly in my own user account.

I don't install stuff from internet in Ubuntu - only via SynApt.

Revision history for this message
Deinloft (deinloft) wrote :

Hi!

Yes same Problem! (On both Accounts)

Am 31.10.2016 um 12:37 schrieb Damon Lynch:
> Create a brand new user with the default theme, and not some random
> theme you may have downloaded from the Internet. Run Rapid Photo
> Downloader and see if you can replicate the issue.
>
> To create a new user do this: https://help.ubuntu.com/lts/ubuntu-help
> /user-add.html
>

--

Mfg

Daniel Einloft

___________________________

Marktstefterstr. 14
97318 Kitzingen
0 15 73-7 70 11 76
<email address hidden>

Revision history for this message
Deinloft (deinloft) wrote :

Hi!

Yes same problem on both accounts!

Thanks

Am 31.10.2016 um 12:37 schrieb Damon Lynch:
> Create a brand new user with the default theme, and not some random
> theme you may have downloaded from the Internet. Run Rapid Photo
> Downloader and see if you can replicate the issue.
>
> To create a new user do this: https://help.ubuntu.com/lts/ubuntu-help
> /user-add.html
>

--

Mfg

Daniel Einloft

___________________________

Marktstefterstr. 14
97318 Kitzingen
0 15 73-7 70 11 76
<email address hidden>

Revision history for this message
Deinloft (deinloft) wrote :

I habe the same problem in the new account
Mfg

Daniel Einloft

___________________________

Marktstefterstr. 14
97318 Kitzingen
0 15 73-7 70 11 76
<email address hidden>

Am 31. Oktober 2016 12:37:42 MEZ, schrieb Damon Lynch <email address hidden>:
>Create a brand new user with the default theme, and not some random
>theme you may have downloaded from the Internet. Run Rapid Photo
>Downloader and see if you can replicate the issue.
>
>To create a new user do this: https://help.ubuntu.com/lts/ubuntu-help
>/user-add.html
>
>--
>You received this bug notification because you are subscribed to a
>duplicate bug report (1611142).
>https://bugs.launchpad.net/bugs/1002774
>
>Title:
> selection of the photo is faulty: one out of two (even or odd numbers)
>
>Status in Rapid Photo Downloader:
> Fix Released
>Status in Rapid Photo Downloader pyqt series:
> Fix Released
>
>Bug description:
>When I select photos, I make a rectangular selection (with the
>shift-button). While the photos are highlighted, I click on one of the
>checkboxes to check all the selected photos. It was working properly on
>the 0.4.2 version, but on the 0.4.3, it selects only one picture out of
>two. When you click a second time on the checkbox, then, it selects the
>others, but always one out of two.
>So I can't select the photos on a rectangular selection, or I should do
>it one by one.
>
> I'm using 0.4.3 on Ubuntu 12.04.
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/rapid/+bug/1002774/+subscriptions

Revision history for this message
2CV67 (2cv67) wrote :

Back in 2014, I had the problem in my own account, but not in other accounts on the same PC.

Today, I have the problem in my own account, but also on 3 other existing accounts and also on a new clean account I opened specially as a check...

Revision history for this message
dimitri gathy (dimitri-gathy) wrote :

Same problem! Fresh instal ubuntustudio 16.04 rpd 0.4.11

Revision history for this message
Damon Lynch (dlynch3) wrote :

1. Install Ubuntu Studio 16.04.1 into a clean partition with everything set to default
2. Setup new user
3. The bug does not appear

To repeat:

1. The bug is not caused by code in Rapid Photo Downloader. It caused by a bug in Gtk 2, which is unmaintained.
2. Rapid Photo Downloader has moved to Qt 5 from Gtk 2
3. All development taking place in Rapid Photo Downloader is focused on the Qt version.

Revision history for this message
2CV67 (2cv67) wrote :

Sorry, but after 2 years of struggling with this problem in RPD (most recently with RPD 0.4.11 in Ubuntu 16.04) I have gone back to Shotwell for my downloading...

It is still not clear for me if 0.4.11 is the new version with Qt 5 or the old version with Gtk 2.

I am still happy to run any tests to help.

Revision history for this message
Damon Lynch (dlynch3) wrote :

Versions 0.0.1 to 0.4.11 of Rapid Photo Downloader all use Gtk+ 2. Gtk+ 2 is now obsolete, with its bugs not being fixed.

Versions 0.9.0 of Rapid Photo Downloader all use Qt 5. It looks very different to any previous version. Read about the new features at: http://damonlynch.net/rapid/features.html

You can download the new Rapid Photo Downloader at: http://damonlynch.net/rapid/download.html

Alpha 7 is due very soon.

Revision history for this message
Deinloft (deinloft) wrote :

Hi!

Yes Version 0.9 works. Thanks.

But installing is a little bit complicated

Am 03.01.2017 um 20:43 schrieb Damon Lynch:
> Versions 0.0.1 to 0.4.11 of Rapid Photo Downloader all use Gtk+ 2. Gtk+
> 2 is now obsolete, with its bugs not being fixed.
>
> Versions 0.9.0 of Rapid Photo Downloader all use Qt 5. It looks very
> different to any previous version. Read about the new features at:
> http://damonlynch.net/rapid/features.html
>
> You can download the new Rapid Photo Downloader at:
> http://damonlynch.net/rapid/download.html
>
> Alpha 7 is due very soon.
>

--

Mfg

Daniel Einloft

___________________________

Marktstefterstr. 14
97318 Kitzingen
0 15 73-7 70 11 76
<email address hidden>

Revision history for this message
Damon Lynch (dlynch3) wrote :

Installation is complicated because only Arch Linux and Gentoo have packaged the latest version of Rapid Photo Downloader and all its dependencies. On Debian/Ubuntu/Mint and Fedora, the most popular platforms, many dependencies are not packaged, e.g. the python binding to libgphoto2. I haven't had time to properly investigate packaging it as a Snap or similar. Help with that is most welcome.

Revision history for this message
Marcus Amorim (ui-marcus) wrote :

This error is happening in version 0.4.11 on all machines where I am clean installing Ubuntu 16.04. It did not happen on 14.04.

The problem occurs when I select any amount of files and check any of them to download, it marks interleaved files, not all as expected.

Revision history for this message
Damon Lynch (dlynch3) wrote :

The bug does not occur in version 0.9, which replaces version 0.4. Version 0.4 is not being developed. I'm sorry you're seeing the bug, but please keep in my mind that literally all development focus is on 0.9.

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.