https://bugs.kde.org/show_bug.cgi?id=445408

--- Comment #4 from amyspark <a...@amyspark.me> ---
(In reply to amyspark from comment #3)
> That's a good workaround, though the real problem is why adding the same
> resource multiple times ends up with all instances disabled.

The reason is that there are three instances of this resource on my database:

> select resources.id, filename, storages.location from resources, storages 
> where resources.storage_id = storages.id and resources.md5sum = 
> "cf1bc7415af3103afcd82f58a2e6fe18";

id      filename        location
207     3_texture.png   Krita_3_Default_Resources.bundle
691     square_rough.png        Krita_4_Default_Resources.bundle
946     square_rough.png        Quiraltas_SM_Brush_Set.bundle

So a query by resource ID will obviously target the disabled instances (since
they are the ones linked by the selected resources).

I'll apply the workaround in my MR.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to