Switches not responsive after zooming in

Moderator: Benj

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8601
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2474 times
Been thanked: 3558 times
Contact:

Switches not responsive after zooming in

Postby medelec35 » Thu Jan 17, 2019 11:43 am

While simulation is running:
If zoomed in (Ctrl + Mouse wheel), then switches stops responding (clicking on it with mouse) until zoomed back out.
Applies to both 2D and 3D panels.

Issue does not occur all the time.
Attachments
Switch test.fcfx
(18.33 KiB) Downloaded 45 times
These users thanked the author medelec35 for the post:
petesmart (Thu Jan 17, 2019 12:48 pm)
Rating: 5%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8601
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2474 times
Been thanked: 3558 times
Contact:

Re: Switches not responsive after zooming in

Postby medelec35 » Tue Jan 22, 2019 12:46 pm

I Have just noticed that all components are affected.
For example, I wanted to select properties of LCD.
To see the characters clearly, I was zoomed in a fair bit.
on selecting the LCD, the properties did not change from Panel until I zoomed out!
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
Benj
Matrix Staff
Posts: 14661
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4651 times
Been thanked: 4270 times
Contact:

Re: Switches not responsive after zooming in

Postby Benj » Tue Jan 22, 2019 8:30 pm

Hi Martin,

On the 3d panel get it so the problem exists and then click the perspective icon and it should highlight the issue. As it is a 3d system the perspective mode shows the actual zoom whereas the 2d shows a screwed zoom. Often the camera is actually inside the component mesh when zoomed right in. Hence selections and clicks aren't registering correctly.

We have work to do on the 2d panel but its a big job so may take a while to action.

For now maybe just something to be aware of :( I believe it's been the same since 6 but please correct me if it's worse in 8.
These users thanked the author Benj for the post:
medelec35 (Wed Jan 23, 2019 10:53 am)
Rating: 5%
 

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8601
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2474 times
Been thanked: 3558 times
Contact:

Re: Switches not responsive after zooming in

Postby medelec35 » Wed Jan 23, 2019 8:24 am

Hi Ben,
To put things in perspective.
Zoom level Switches stopped operating as well as not able to select for properties :
Switches not working.png
Switches not working.png (42.41 KiB) Viewed 1910 times

Zoom level was unable to select LCD for properties:
LCD not selecting.png
LCD not selecting.png (56.93 KiB) Viewed 1910 times

Benj wrote:Often the camera is actually inside the component mesh when zoomed right in. Hence selections and clicks aren't registering correctly.
Don't believe the issue is that, as you can see not zoomed in to inside components.
Benj wrote:I believe it's been the same since 6 but please correct me if it's worse in 8.

With V6 zoom in to the same point as the top picture, and Switches completely disappear, all other components remain visible.
V7 acts the same as V6.
I will also test on home PC early this evening.
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8601
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2474 times
Been thanked: 3558 times
Contact:

Re: Switches not responsive after zooming in

Postby medelec35 » Wed Jan 23, 2019 11:08 am

Moved switches to illustrate better.
V6 Switches Ok:
Switches 1.png
Switches 1.png (58.99 KiB) Viewed 1902 times

V6 Zoom in just one level:
Switches Vanash.png
Switches Vanash.png (73.4 KiB) Viewed 1902 times

With V6 & V7.
Instead of vanishing like they do with V6, you just can't select them.
As Far as V7 and V8 are concerned they have vanished since you can't select them, but they are still visible.
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
Benj
Matrix Staff
Posts: 14661
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4651 times
Been thanked: 4270 times
Contact:

Re: Switches not responsive after zooming in

Postby Benj » Wed Jan 23, 2019 11:17 am

Hi Martin,

Maybe check the Z coordinates of the components. I've just had a go at replicating the problem here and so far been unable to.

Also have you tried toggling the perspective mode on and off, hopefully this should highlight the problem.

Persp.jpg
Persp.jpg (23.39 KiB) Viewed 1898 times
These users thanked the author Benj for the post:
medelec35 (Wed Jan 23, 2019 4:50 pm)
Rating: 5%
 

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8601
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2474 times
Been thanked: 3558 times
Contact:

Re: Switches not responsive after zooming in

Postby medelec35 » Wed Jan 23, 2019 4:50 pm

Hi Ben,
Benj wrote:Maybe check the Z coordinates of the components. I've just had a go at replicating the problem here and so far been unable to.

Also have you tried toggling the perspective mode on and off, hopefully this should highlight the problem.

I believe I know what causes the issue and I had reported before here (Sorry for anyone who can't follow the link)
It's caused by adding components to 2D panel, then dragging from 2D panel to 3D panel.
The Z value gets changed to about 129ish.
These users thanked the author medelec35 for the post:
Benj (Wed Jan 23, 2019 5:06 pm)
Rating: 5%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8601
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2474 times
Been thanked: 3558 times
Contact:

Re: Switches not responsive after zooming in

Postby medelec35 » Thu Jan 24, 2019 8:29 am

I Have a suggestion.
As there is no Z if used on the 2D panel, when dragged to 3D panel can the components be automatically assigned with a Z value of 0.00000?
These users thanked the author medelec35 for the post:
Benj (Thu Jan 24, 2019 2:01 pm)
Rating: 5%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
Steve
Matrix Staff
Posts: 3111
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 89 times
Been thanked: 397 times
Contact:

Re: Switches not responsive after zooming in

Postby Steve » Thu Jan 24, 2019 2:16 pm

Hi Martin,

I've been looking into this and I don't think your suggestion will fully resolve the issue because the Z coordinate can be set by other means, but I have another suggestion. First of all, I'll explain the problem.

On the 3D panel, there is a toggle button which looks like a solid cube which changes the perspective. It's tooltip says "Switch between a flat 2D view and a 3D view". The problem you're having is only happening in the "2D" view. If you're in the 3D view, then zooming in with the camera correctly shows that the objects are behind the camera and so you won't be able to see them. In the 2D view, the camera is always very far above the action (this forces a flat perspective), but it seems that the mouse events are still triggered as if the camera is zoomed in (as in the 3D view).

Note that I can't replicate the problem on the 2D panel.

My suggested workaround is to always use the 3D panel with 3D perspective on. Then it will be obvious when objects are at differing heights on the 3D panel.

In fact, to avoid this confusion, I will canvass opinion as to whether or not we force the 3D panel to always draw with a 3D perspective. Out of interest, what do you think to this suggestion of removing the perspective button?
These users thanked the author Steve for the post:
medelec35 (Thu Jan 24, 2019 2:28 pm)
Rating: 5%
 

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8601
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2474 times
Been thanked: 3558 times
Contact:

Re: Switches not responsive after zooming in

Postby medelec35 » Thu Jan 24, 2019 2:28 pm

Steve wrote:Out of interest, what do you think to this suggestion of removing the perspective button?

Yes, that would be a neat solution, as I did not even realise I put it in 2D mode.
Most of been by accident.
If 2D is required then we use the 2D panel.
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.