Clipped objects that become invisible cannot be unclipped
<!-- See our full bug reporting guidelines at https://inkscape.org/contribute/report-bugs/ Writing a good bug report will ensure we'll be able to help efficiently. 🙂 --> #### Summary: <!-- Summarize the issue/suggestion concisely: --> If an object (A) is clipped with another object (B) such that they don't overlap, the clipped object (A) will become invisible. It can be selected still (e.g. using the Objects dialog). However, even if it is selected, it is impossible to remove its clipping. #### Steps to reproduce: <!-- Describe what you did (step-by-step) so we can reproduce: --> - Open Inkscape. - Draw a rectangle. - Draw a circle, not overlapping the rectangle. - Select both, go to Object > Clip > Set. - Both objects will no longer be visible. - Open the Objects dialog via Object > Objects... - Select the clipped object. - Go to Object > Clip > Release. #### What happened? Nothing will have happened. No operation will have even been made, according to the undo history. #### What should have happened? The object would have been unclipped, which would have returned the original rectangle object and circle object. ### Example: <!-- Attach the sample file(s) highlighting the issue, if appropriate. --> ![clip_glitch.svg](/uploads/d31973e811261af7751211bade196dfe/clip_glitch.svg) Above you can find an SVG file with a rectangle clipped by a circle. In the Objects dialog, you can find rect9, and attempt to remove its clip that way. #### Notes: * If the object that will dictate the clipping is a clone, the same problem will happen -- in this scenario, the clone's original can be scaled in order to make the clipped object visible or invisible, which easily demonstrates the problem. * The problem also happens with masks, though only in the case where the mask does not overlap with the other object. If the mask overlaps but is fully black, this problem will not occur. * It is also not possible to remove the clip using the context menu in the Objects dialog. #### Version Info: - Inkscape Version: 1.0.1 (3bc2e813f5, 2020-09-07) - Operating System: Lubuntu - Operating System version: Lubuntu 16.04, 4.4.0-197-generic 64-bit <!-- ❤️ Thank you for filling in a new bug report, we appreciate the help! ❤️ Please be patient while we try to find the time to look into your issue. Remember that Inkscape is developed by volunteers in their spare time, we'll try our best to respond to all reports. --> <!-- Please be careful when/after writing # for example in logs, code, or versions of linux - use inline code span - single backticks (`) before and after it, like this - `inbox#1618` - use multi-line code block - triple backticks (```) to fence/enclose console logs - attach long logs as a text file. -->
issue