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

--- Comment #3 from Tobias Leupold <t...@stonemx.de> ---
This does two things. It prevents the crash itself by checking if there IS
actually a selection in ThumbnailFacade::currentItem(), so that the model won't
be queried with an invalid index.

This still lead to unexpected behavior: Showing only the selection for no
selection did show (as expected) nothing. But when clicking "Show context"
afterwards, there would still nothing be shown.

Thus I decided to prevent showing only the selection for nothing at all, the
user will see a message that nothing is selected (so nobody wonders why nothing
happens when clicking this, one could think that frame is already a selection).
This way, we won't reach the code that actually caused the crash anymore. But
still, it's not a bad idea to fix the root cause ;-)

@Victor Lobo: If you mess with geotagging your photos, maybe you want to have a
look at KGeoTag as well? I'm pretty sure a lot of crashes are hidden in there
as well ;-)

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

Reply via email to