Re: mapview-patch

Johannes Zarl-Zierl <[email protected]> Sun, 10 Jan 2021 01:19:58 +0100
Newsgroups gmane.comp.kde.kimdaba
Message-ID <5674130.lOV4Wx5bFT@mani>
Hi Reimar,

I believe the issue is now fixed without any noticeable side-effects.

Cheers,
  Johannes


Am Samstag, 9. J=E4nner 2021, 19:26:55 CET schrieb Reimar Imhof:
> Hi Johannes,
> =

> I ran into a new problem I've got for some image clusters (since kphotoal=
bum
> 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 select=
ion
> around the cluster.
> It seems that m_boundingRegion does not include all images for the "probl=
em
> 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
> them. 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
> > realized
> > 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
> =

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