working towards Subsurface 2.0

Miika Turkia miika.turkia at gmail.com
Sun Sep 9 21:44:41 PDT 2012


On Mon, Sep 10, 2012 at 3:47 AM, Dirk Hohndel <dirk at hohndel.org> wrote:
>
> On Sep 7, 2012, at 9:47 PM, Miika Turkia wrote:
>
>> On Sat, Sep 8, 2012 at 1:33 AM, Dirk Hohndel <dirk at hohndel.org> wrote:
>>> Miika Turkia <miika.turkia at gmail.com> writes:
>>>>>> On Thu, Sep 6, 2012 at 10:57 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
>>>>>>>
>>>>>>> - thorough testing of the latest version. Yes, we know about the strange
>>>>>>> Gtk/pthreads bug on Ubuntu and MacOS. Are there other ways to get
>>>>>>> Subsurface to crash or to do the wrong thing?
>>>>>>
>>>>>> Seems that the last dive on selection does not get included to "Create
>>>>>> new trip above".
>>>>>
>>>>> Is that with master or with tree3?
>>>>> Can you explain exactly the steps to reproduce?
>>>>
>>>> I tested it on tree3 doing following:
>>>> - Select a few top dives from the last trip
>>>> - Then click the "Create new trip above"
>>>>
>>>> Now the last selected dive is still on the previous trip. Selection
>>>> includes dives on the new trip and the one on the previous trip.
>>>
>>> The code wasn't there to add all selected dive. That was included in
>>> today's pull requests.
>>
>> I tested this now on the master branch as it sounds as it should work
>> now. The result seems to vary a bit but so far I have not gotten full
>> selection to the new trip. Two screen shots attached. First shows
>> selection before creating the new group and second after. In this
>> creation only one dive formed the new trip and 3 remained on the
>> original trip.
>
> Are you sure you tested this with the current master? This is not consistent with what I can reproduce here. I need to check on my Ubuntu system if this is once again a special Ubuntu "feature".

Yes, I tested with current master.
$ git pull
Current branch master is up to date.

 I would not be surprised if this turned out to be the Ubuntu issue.

>> Another issue I noticed is that the group name is copied over to the
>> trip above. So doing the new trip creation 3 times resulted in total
>> of 4 trips with identical trip name.
>
> I'm confused about what you are describing here. Can you elaborate? And also include what you think the code should do?

Whenever I create a new trip (select a few dives and Create new trip
above), the old and new trip will have the same Location. Despite the
fact the old trip does not have the dive that gave the Location its
name. I sure can edit it manually but updating the trip Locations
automatically (if not changed by the user) might be a good idea.

>>>>>> Do you want this included in subsurface? Should I go ahead and include
>>>>>> the trip stats?
>>>>>
>>>>> How are you planning to offer those to the user?
>>>>
>>>> The current implementation is a new window that shows the yearly stats
>>>> in list view, invoked from menu.
>>>
>>> I have a hard time visualizing that. I'd love a pull request :-)
>>
>> I have a patch attached. If pull requests are the preferred way I'll
>> take a look into github for the future.
>> The yearly statistics is currently invoked from the menu Log->Yearly Statistics.
>
> I haven't reviewed the patch, yet. Next on my todo list.

I'll try to fix this based on your comments.

miika


More information about the subsurface mailing list