Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting elements #221

Open
JoopN opened this issue Jul 27, 2022 · 4 comments
Open

Selecting elements #221

JoopN opened this issue Jul 27, 2022 · 4 comments
Labels
user interface Improvements related to the user interface

Comments

@JoopN
Copy link
Contributor

JoopN commented Jul 27, 2022

When you go big in drawing and use something like the millimetre grid some strange things happen.
Selecting with snap to grid is impossible when the element is not on a grid line (say settings are 5mm). Switching snap to grid off does help, but next there seems some strange things when selecting. I have drawn a light tube, both sides black line with on grid line a yellow line. See example. It looks like there is some room around that yellow line on grid line which sees to it that you always select that element. The element 1mm above or below is very difficult to select. You have to go to 1000% or something like that.
Example light tube (ADAT light pipe)
LI 112 119 102 119 0
LI 102 120 112 120 4
LI 112 121 102 121 0

Same for multiple selections, I had drawn lines (connections between different block elements) and because it is not clear what line it is somewhere in the drawing I had added text to the line for what it is (like TY 181 935 2 1 0 0 2 Liberation++Sans++Narrow VU/PPM IN L). So you can follow that line through your drawing all the way to the other end. Sometimes I have four or more lines next to each other and I had to move the text a grid block (5mm) up or down or left or right. I had great difficulty in selecting more than 2 or 3 text lines. Sometimes the connection line was selected instead of the text line next to it. Again like there was some room around the "connection line".

Most strange observations in this act is that somewhere else in the drawing something is selected, erases, moved or some line has changed colour. And that all happen in a part of the drawing which is even not on screen.

Also it is getting difficult to move around and to insert a lib item, but this could be the problem that I entered the border from my Raspberry Pi.

Said this all, its not all negative, made my own libs and draw complex studio setups with different equipment. Your program did give me good insight what to do and what I needed. Plan is possible, now the part how get it all with present chip shortage, that is another challenge. So I'm not there yet, but one hurdle is taken.

Regards,
Joop

@DarwinNE
Copy link
Owner

DarwinNE commented Sep 2, 2022

Hello,
I tried to replicate the behaviour you describe with the light tube code, but I'm not sure I understand what you mean.
I have a 1000% zoom and if I click on the black lines I can select them with no problem.
The selection rationale is quite complex and may behave strangely in some situations, but I haven't seen nothing strange in the example you provide.
On the other hand, I confirm that if there is a handle nearby, FidoCadJ tries to prioritize it.
When there are two drawing elements very close to the point where you click, it is also possible that the prioritization changes depending on the layer on which they are placed.

@JoopN
Copy link
Contributor Author

JoopN commented Nov 14, 2022

The layer is to blame, when you want to select a black line in my example of the lightpipe you always confronted with the problem that the lighttube with color 4 (yellow) is selected instead of the cable itself with black lines. I use colors for identifying parts or give comments in a different color (measurements in light blue, formula in dark green, red for component value, dark blue for identifying components and so on), in FidoCadJ these are layers. I did a lot of drawing with lines next to each other and sometimes with different colors for identification as input or output lines. The reason why I use FidoCadJ is the simplicity of making components the way you go.

@JoopN
Copy link
Contributor Author

JoopN commented May 18, 2023

Did a test, gave the black lines not layer 0, but layer 15. Now you can't select the line with color 4. I have to click next to the line somewhere in the free space in order to select a black line when it was on layer 0. May be its the handle. On the other hand, what I do is extreme.

@DarwinNE
Copy link
Owner

Hello,
indeed it is problematic to combine the layer priority rules with the rationale used to select objects.
I can think to solutions that only work in some particular cases, but it is difficult to have something that works perfectly for all situations...

Cheers,
D.

@DarwinNE DarwinNE added the user interface Improvements related to the user interface label May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user interface Improvements related to the user interface
Projects
None yet
Development

No branches or pull requests

2 participants