Bug 360153 - select among superposed objects as macro argument
Summary: select among superposed objects as macro argument
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kig
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: David E. Narvaez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-06 08:20 UTC by Maurizio Paolini
Modified: 2023-05-15 04:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maurizio Paolini 2016-03-06 08:20:24 UTC
suppose that a construction creates from a segment a larger segment that extends the original one.
In order to create a macro one needs to select the starting segment, but kig does not allow the user to chose between the two superposed segments.

To try this out you can construct a segment, then its support line (from the context menu of the segment.
Now try to construct a macro that has a segment as an argument and the line as the resulting object
Comment 1 David E. Narvaez 2017-10-09 16:32:20 UTC
Git commit f40deaf0c6f4256d2314f285773da23ab4a22920 by David E. Narváez.
Committed on 09/10/2017 at 14:36.
Pushed by narvaez into branch 'master'.

Check the ObjectHolder Pointer is Valid

One can get a null pointer from selecting two superimposed objects
(Shift + Left Click) and then canceling the popup menu by clicking
somewhere else.

M  +1    -1    modes/macro.cc

https://commits.kde.org/kig/f40deaf0c6f4256d2314f285773da23ab4a22920
Comment 2 Justin Zobel 2022-11-10 08:52:39 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Maurizio Paolini 2022-11-11 09:44:05 UTC
This problem is still there.  When constructing a macro it is not possible to chose among superimposed objects when selecting starting arguments or resulting objects.
I checked kig version 22.08.1-1.fc36, which is the one shipped with the latest fedora distribution.  I will soon try with the git development source.
Comment 4 Maurizio Paolini 2022-11-11 16:57:06 UTC
Problem still present also in development version of kig:
$ kig --version
kig 23.03.70

in case of superimposed objects, when selecting input objects while defining a macro, kig will not allow the user to select the preferred object.
Comment 5 David E. Narvaez 2023-04-26 12:36:36 UTC
(In reply to Maurizio Paolini from comment #4)
> Problem still present also in development version of kig:
> $ kig --version
> kig 23.03.70
> 
> in case of superimposed objects, when selecting input objects while defining
> a macro, kig will not allow the user to select the preferred object.

Have you tried Shfit + Click? I just tried defining the macro from the first comment (one that constructs the support line of a segment) and this worked.
Comment 6 Bug Janitor Service 2023-05-11 03:45:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Maurizio Paolini 2023-05-15 04:11:28 UTC
As suggested by David it is actually possible to select the desired object by using shift-click.
This however raises the question: is this written in some doc? (I think no).
Would it be feasible to add a message to the user at the moment of macro definition?

Maurizio