linux 6.10.43: cherry picking bug

Message boards : BOINC Manager : linux 6.10.43: cherry picking bug
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Joseph Stateson
Volunteer tester
Avatar

Send message
Joined: 27 Jun 08
Posts: 641
United States
Message 31955 - Posted: 5 Apr 2010, 16:03:03 UTC

This bug occures only in linux and is in 6.10.17 as well as 6.10.43. If you hold down the shift and start selecting tasks and one of the tasks conflicts with what you are trying to do (like it is already suspended and you are trying to suspend some more) then you have to release the shift button, clear the selection list, and start over.

It can be easily demonstrated, make sure you have some tasks that are ready to start. I am assuming 10 tasks that have not yet started and all have 0 progress and are marked "ready to start".


Select the task tab in BM and sort progress from 100% down to 0% Assume you have 10 tasks at the bottom that are ready to start.

Select the task 5th from the bottom and click on "suspend" note that it changes to "resume".

Select the first of the "ready to run" tasks, then hold down the shift key and start clicking the down cursor key. Note that the selections are all highlighted and the "Suspend" button is NOT grayed out.

When you move the cursor over the task that is already suspended (the 5th one) the "Suspend" button becomes inactive and is grayed out.

Still holding the shift key down, if you then click the up cursor key the inactive "suspend" button does NOT become activated. It remains grayed out. In addition, the 5th tasks stays highlighted even though it was supposidly de-selected.


If you do the above in any windows version it work perfectly: Moving the cursor up off of the already selected line item de-selects that task, un-highlights it and the "suspend" button is then re-activated and can be used on the items you have selected. In linux you have to release the shift key, and start over.


At one time I was trying to resume about 100 tasks that were suspended (dont ask me why) and I was holding down the shift key and hitting the page down, but I passed thru a task that was running. That one task inactivated the "resume" button and i had to start all over again because the "resume" button would not become active again.
ID: 31955 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 31956 - Posted: 5 Apr 2010, 16:33:35 UTC

The button you use to suspend/resume is only one button with two different options. As soon as you choose multiple tasks to do the same thing, the button will only do that one thing. If one of the tasks in the list is already on that choice, the button will deactivate as it can't give you both choices at the same time.

There is an easy workaround: click the Status column header to order them by status, then all tasks with the same status will be grouped together. Then you can easily select all that aren't suspended yet.
ID: 31956 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5082
United Kingdom
Message 31958 - Posted: 5 Apr 2010, 17:11:42 UTC

AFAIK, BOINC Manager follows the standard (or is it Windows only?) convention.

If you hold down the 'Shift' key, the selection becomes "this one, the first one you clicked, and everything in between."

If you hold down the 'Ctrl' key, you can select or deselect individual items in the list, without affecting the ones already selected/deselected.
ID: 31958 · Report as offensive
Profile Joseph Stateson
Volunteer tester
Avatar

Send message
Joined: 27 Jun 08
Posts: 641
United States
Message 31961 - Posted: 5 Apr 2010, 17:36:29 UTC - in response to Message 31958.  
Last modified: 5 Apr 2010, 17:44:15 UTC

AFAIK, BOINC Manager follows the standard (or is it Windows only?) convention.

If you hold down the 'Shift' key, the selection becomes "this one, the first one you clicked, and everything in between."

If you hold down the 'Ctrl' key, you can select or deselect individual items in the list, without affecting the ones already selected/deselected.


Yes, one would hope they should work the same way especially with the same program and version number.

There are actually two bugs here.

(1) When backing the cursor off the unselected items should have their highlight removed. This does not happen. The blue highlight is still shown even though the items appear to have been deselected (you can see the cursor moving back the other direction)

(2) When backing the cursor off, the item that was in the wrong context (ie: it was already suspended) is deselected. However, the resume button is not re-activated.

The above two bugs are not in the windows version. Of course, this could be a feature to make it harder to cherry pick the data.
ID: 31961 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 31962 - Posted: 5 Apr 2010, 17:50:50 UTC

Test if 6.10.44 does the same thing. It'll be available from the normal BOINC download page within the hour.
ID: 31962 · Report as offensive
Profile Joseph Stateson
Volunteer tester
Avatar

Send message
Joined: 27 Jun 08
Posts: 641
United States
Message 31966 - Posted: 5 Apr 2010, 20:23:20 UTC - in response to Message 31962.  
Last modified: 5 Apr 2010, 20:28:45 UTC

Test if 6.10.44 does the same thing. It'll be available from the normal BOINC download page within the hour.


Yes, 44 has the same problem. I downloaded it to Dotsch_UX (8.1 ubuntu) and ran a test. I used snagit to capture the screen. The movie is really bad because I was using ultravnc to access the linux desktop and snagit on my vista system to record.

Movie is here

I started recording with 8th from the bottom already suspended and the cursor is positioned on the 3rd one above the suspended task. Latency is terrible.

I held the shift and moved the cursor down. Shortly after I passed the suspended line item, the button at the top left "Suspend" becomes inactive as expected. Then, still holding down the shift, I moved the cursor up. If you look closely you can see the cursor motion but the blue highlight stays on. As I move the cursor key up, there should be fewer and fewer colatz items selected and one should see less of the blue highlighted items. Eventually, I pass and go above the item I started with. Note that the suspend button is left inactive.

On a windows system, when I get thru there should be only 3 items highlighted. Instead, the linux system shows all items highlighted. Only the ones between the start and the finish should be selected IMHO.
ID: 31966 · Report as offensive

Message boards : BOINC Manager : linux 6.10.43: cherry picking bug

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.