Re: mapview-patch

Reimar Imhof <[email protected]> Sat, 09 Jan 2021 19:26:55 +0100
Newsgroups gmane.comp.kde.kimdaba
Message-ID <[email protected]>
Hi Johannes,

I ran into a new problem I've got for some image clusters (since kphotoalbu=
m =

7.0):

When clicking a "problem" image cluster I get less images then the cluster =

includes. I get all images if I don't click the cluster but pull a selectio=
n =

around the cluster.
It seems that m_boundingRegion does not include all images for the "problem =

clusters".
I've tried to put a delta (0.0001) to the cluster in =

GeoCluster>>boundingRegion() :
        ret_region.setNorth(m_boundingRegion.north()+delta);
        ret_region(m_boundingRegion.south()-delta);
        ret_region.setEast(m_boundingRegion.east()+delta);
        ret_region.setWest(m_boundingRegion.west()-delta);

I could solve the problem for some clusters that way but not for all of the=
m.
And I got funny effects: The size of the cluster (shown an the map) changed =

unexpectedly when changing the map resolution. =


Could you have a look?

Thanks,
Reimar

Am Dienstag, 5. Januar 2021, 01:24:58 CET schrieb Johannes Zarl-Zierl:
> Am Dienstag, 5. J=E4nner 2021, 00:42:24 CET schrieb Johannes Zarl-Zierl:
> > I'll also take another look and see if more caching can improve
> > performance...
> =

> That was easier than expected. Tobias already asked himself whether a
> caching the rendered pixmap could improve rendering time. If I had realiz=
ed
> that this is such a small change for such a big improvement I would have
> implemented this sooner ;-)
> =

> Cheers,
> -j
> =

> =

> =

> =

> _______________________________________________
> KPhotoAlbum mailing list
> [email protected]
> https://mail.kdab.com/mailman/listinfo/kphotoalbum