Re: Re: [Ipe-announce] Ipe 7.0.12 available

Otfried Cheong <[email protected]>
Newsgroups gmane.comp.graphics.ipe.general
Organization Ipe Headquarters
Message-ID <[email protected]>
On 11/23/2010 11:00 AM, zhengdao-KgB/[email protected] wrote:
> To reproduce it, follow the following steps:
>
> 1. Create some object on layer alpha. Say a box, whose bottom-left is at (0,0)
>
> 2. Create a new layer beta (shift-ctrl-i), and hide layer alpha
>
> 3. Set mode to "select", and move cursor to (0,0) and drag the invisible box.
>
> 4. Show layer alpha - the box has been moved.

Indeed.  Here is the simple fix (will be in 7.0.13).

Cheers,
  Otfried

Index: actions.lua
===================================================================
--- actions.lua	(revision 453)
+++ actions.lua	(working copy)
@@ -263,6 +263,7 @@
  	     doc[t.pno]:setVisible(t.vno, t.layer, t.visible)
  	   end
    self:register(t)
+  self:deselectNotInView()
  end

  function MODEL:layeraction_lock(layer, arg)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.