Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Overview.FitAll doesn't work as expected (Read 12219 times)
lutz
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 18
Joined: Aug 26th, 2009
Overview.FitAll doesn't work as expected
Feb 22nd, 2010 at 4:06pm
Print Post  
Hello there,

i've been integrating your overview class with "FitAll = false" in my application.

It is not working as expected, because if the selection rectangle of the overview reaches the right or bottom border of the overview window, the overview doesn't scroll the diagram to keep the rect inside (like e.g. google earth is doing).

Is it designed to work like that or is it a bug?

Thanks in advance
Lutz
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview.FitAll doesn't work as expected
Reply #1 - Feb 22nd, 2010 at 6:01pm
Print Post  
Hi,

Auto-scrolling is supported, but from what I can see it starts when the mouse leaves the overview area, and not when the tracker rectangle leaves it (which happens earlier). We'll add a property to enable the latter for the next release.

Stoyan
  
Back to top
 
IP Logged
 
lutz
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 18
Joined: Aug 26th, 2009
Re: Overview.FitAll doesn't work as expected
Reply #2 - Feb 25th, 2010 at 10:59am
Print Post  
Hello Stoyan,

just to make that clear:
I am looking for something like you can find in google maps in the overview window in the bottom right corner.

I need to set a fix size on the overview window and want to use the tracker rect to scroll.

Will this functionality be part of the next release?

Best Regards
Lutz
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview.FitAll doesn't work as expected
Reply #3 - Feb 26th, 2010 at 12:58pm
Print Post  
Hi,

It seems the only difference is when auto-scrolling starts. We can make it scroll when the rect leaves the overview area for the next release if that's all.

Stoyan
  
Back to top
 
IP Logged
 
lutz
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 18
Joined: Aug 26th, 2009
Re: Overview.FitAll doesn't work as expected
Reply #4 - Mar 1st, 2010 at 10:13am
Print Post  
Hi Stoyan,

the scrolling behaviour regarding the rect you have described in your last post, is exactly matching with my expectations.

When will the next version be released?

Bye
Lutz
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview.FitAll doesn't work as expected
Reply #5 - Mar 3rd, 2010 at 1:46pm
Print Post  
Hi Lutz,

Please check if this version auto-scrolls as you expect it:
https://mindfusion.eu/_beta/wpfdiag231_ovw.zip

We'll try to release it next week.

Stoyan
  
Back to top
 
IP Logged
 
lutz
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 18
Joined: Aug 26th, 2009
Re: Overview.FitAll doesn't work as expected
Reply #6 - Mar 5th, 2010 at 8:47am
Print Post  
Hi Stoyan,

the overview works as expected regarding the tracker rectangle - thanks for that.  Smiley

But I think it is a bug that I am not able to set the FitAll property to false (obviously because the width and height of the overview equal 0), before the overview is loaded.

Will this be fixed for the next release or don't you consider it a bug?

Lutz
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview.FitAll doesn't work as expected
Reply #7 - Mar 5th, 2010 at 9:25am
Print Post  
Hi Lutz,

It seems we have already fixed that. Please try this version:
https://mindfusion.eu/_beta/wpfdiag_ovwfix.zip

Stoyan
  
Back to top
 
IP Logged
 
lutz
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 18
Joined: Aug 26th, 2009
Re: Overview.FitAll doesn't work as expected
Reply #8 - Mar 5th, 2010 at 11:47am
Print Post  
Hello Stoyan,

I have tested it. And ... it works.

Just for your information: in your documentation the default value of the FitAll property is described as false, but obviously it is true.

Lutz
  
Back to top
 
IP Logged
 
radu
YaBB Newbies
*
Offline


AMADEE

Posts: 10
Joined: Mar 23rd, 2010
Re: Overview.FitAll doesn't work as expected
Reply #9 - Mar 23rd, 2010 at 9:59am
Print Post  
Hi

I'm trying to use the Overview with FitAll=False and ShowScrollbars=False. It does not work as I expect.

Using ShowScrollbars=True seems to work ok. The only niggle in this case is that the small preview rectangle briefly goes out of the Overview and then it is "thrown" back. Not so nice but not a show stopper.

What we really need is a FitHeight mode + GoogleMaps's overview behaviour. First thing I can calculate by myself (tweaking ScaleFactor) but for the second thing I guess you must fix the ShowScrollbars=False behaviour.

Thanks in advance
Radu
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview.FitAll doesn't work as expected
Reply #10 - Mar 23rd, 2010 at 3:14pm
Print Post  
This version should work with ShowScrollbars=False:
https://mindfusion.eu/_beta/wpfdiag231_ovwscroll.zip
  
Back to top
 
IP Logged
 
radu
YaBB Newbies
*
Offline


AMADEE

Posts: 10
Joined: Mar 23rd, 2010
Re: Overview.FitAll doesn't work as expected
Reply #11 - Mar 23rd, 2010 at 4:59pm
Print Post  
Thank you! I'll try it right away.
  
Back to top
WWW  
IP Logged
 
radu
YaBB Newbies
*
Offline


AMADEE

Posts: 10
Joined: Mar 23rd, 2010
Re: Overview.FitAll doesn't work as expected
Reply #12 - Mar 23rd, 2010 at 5:36pm
Print Post  
Not good.

If I scroll using the diagram's scrollbars the Overview goes out of the Viewport....
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview.FitAll doesn't work as expected
Reply #13 - Mar 24th, 2010 at 3:13pm
Print Post  
Is it the tracking rectangle leaving the overview's visible area you don' like? That's perfectly good - there's no reason the overview should always display the same part of the diagram that's currently visible in the diagram's viewport. If you need such synchronization, we can add some property for it in the 2.3.2 release.

Stoyan
  
Back to top
 
IP Logged
 
radu
YaBB Newbies
*
Offline


AMADEE

Posts: 10
Joined: Mar 23rd, 2010
Re: Overview.FitAll doesn't work as expected
Reply #14 - Mar 24th, 2010 at 3:23pm
Print Post  
Stoyo wrote on Mar 24th, 2010 at 3:13pm:
Is it the tracking rectangle leaving the overview's visible area you don' like?

Yes, that makes everything inconsistent... the user is not seeing anymore the tracking rectangle so the overview becomes useless...

That's perfectly good - there's no reason the overview should always display the same part of the diagram that's currently visible in the diagram's viewport.

I was thinking always that the Overview is just another type of viewing what I see in the main diagram (different scale) ... the tracking rectangle (as its name suggests) should display ALWAYS what I see in my main diagram's viewport.

If you need such synchronization, we can add some property for it in the 2.3.2 release.

We absolutely need this otherwise the Overview is useless for us. I am trying to dynamically adjust the ScaleFactor so I always have a FitHeight preview inside the overview (having long swimlanes this approach fits us the best). Perhaps a "KeepAlwaysTrackingRectangleVisible" makes sense.  Many thanks in advance!

Stoyan

  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint