Thinking about how to optimize image selection

Robert Krawitz rlk at alum.mit.edu
Tue Feb 3 15:34:18 GMT 2026


On 2/3/26 09:46, Jesper K. Pedersen via KPhotoAlbum wrote:
> I'd say the right thing to do is to have a setting for what should be the default mode, no?

That's fine, as long as there's also a transient message if you try to do something with it locked.

> On 1/25/26 17:15, Andreas Schleth via KPhotoAlbum wrote:
>> Ha, it seems Johannes was faster than me :-)
>> https://bugs.kde.org/show_bug.cgi?id=474317
>>
>> My patch is obsolete now.
>>
>> Cheers!! Andreas
>>
>>
>> Am 25.01.26 um 16:42 schrieb Andreas Schleth via KPhotoAlbum:
>>> Hi Robert,
>>>
>>> I diddled a bit with the code of Viewer/ViewerWidget.* (knowing very little about C++) and found,
>>> that the default annotation mode is hard coded.
>>>
>>> Well, I can code harder :-)
>>>
>>> So I came up with the attached patch, that will change the default mode to "tokenizing".
>>> Applying the patch after a git pull should create a sanitized version of KPA for our personal use.
>>>
>>> This is integrated into my build script (with the patch file residing inside the KPA folder):
>>>
>>> ...
>>> git pull
>>> # patch tokenizing default
>>> patch -p 1 -i tokenizing.patch
>>> ...
>>>
>>> Works for me (TM)
>>>
>>> Cheers, Andreas
>>>
>>>
>>>
>>> Am 25.01.26 um 14:23 schrieb Andreas Schleth via KPhotoAlbum:
>>>> Hi Robert,
>>>>
>>>> I too have not warmed to this "feature".
>>>> Even after 3 years knowing it, I keep forgetting the additional step of hitting crtl-t every
>>>> time I start the viewer.
>>>>
>>>> Andreas
>>>>
>>>>
>>>>
>>>> Am 25.01.26 um 03:21 schrieb Robert Krawitz via KPhotoAlbum:
>>>>> On 12/4/23 16:15, Andreas Schleth via KPhotoAlbum wrote:
>>>>>> Am 04.12.23 um 19:58 schrieb Robert Krawitz:
>>>>>>> It looks like the annotation mode in the viewer always starts as Locked, and there's no
>>>>>>> setting to
>>>>>>> change it.  Is this by intent?
>>>>>>>
>>>>>>> I'd like to be able to set it to token mode by default.  Ideally, I'd like to be able to use
>>>>>>> either
>>>>>>> tokens or tags on any image.
>>>>>> Hi Robert,
>>>>>>
>>>>>> this was introduced recently - see my "bug" report:https://bugs.kde.org/show_bug.cgi?id=474307
>>>>>> and
>>>>>> the follow up in the wish list. Maybe you could support this (https://bugs.kde.org/show_bug.cgi?
>>>>>> id=474307).
>>>>>>
>>>>>> My wife lost half an evening of tagging due to this new feature :-(
>>>>> I just lost about half an hour of work (plus a whole bunch more time tracking it down).  I had
>>>>> completely forgotten about this; I was using an old fork of kpa that I had never merged up
>>>>> (judging
>>>>> by my email a few years ago, largely because of this), or maybe I had changed it.
>>>>>
>>>>> The whole point of tokens is speed.  Having to do this blows that out of the water.
>>>>
>>>>
>>>
>>



More information about the KPhotoAlbum mailing list