Can't move objects across pages using keyboard arrow keys  SOLVED

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: Daniel - PDF-XChange, PDF-XChange Support, Paul - PDF-XChange, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - Tracker, Ivan - Tracker Software, Stefan - PDF-XChange

Post Reply
Loki@99
User
Posts: 532
Joined: Sat Dec 16, 2023 11:09 am

Can't move objects across pages using keyboard arrow keys

Post by Loki@99 »

Hi,

There is an issue when moving objects across pages using keyboard arrow keys.

Steps to reproduce
1. Enter in Continuous view
2. Select Edit Objects tool
3. Select an object with mouse
4. Move the object from one page to another using keyboard arrow keys

Issue
The object disappear

GIF
issue.gif

Additionnal info
- Reproducible in Two Pages view
- In Foxit PDF, you can't move using arrow keys beyond the page boundaries

Foxit PDF - GIF
foxit.gif

Based on Foxit PDF behavior, it may be a technical limitation so the solution is to probably have a similar behavior on PDFXCE.

Thanks for investigating,
Major Stylus topics
- RemoveAnnotationsWithEraser T#6903
- MiniPopupMenuOnTextSelection T#6894
- AbnormalSpikes forum.pdf-xchange.com/viewtopic.php?p=179935&hilit=spikes#p179935
- ForceEraserPreview forum.pdf-xchange.com/viewtopic.php?t=42380
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19421
Joined: Mon Jan 12, 2009 8:07 am
Contact:

Re: Can't move objects across pages using keyboard arrow keys

Post by Stefan - PDF-XChange »

Hello Loki@99,

The PDF pages are each a "canvas" with a coordinate system and several "boxes" in that coordinate system. So you can have a "Crop" box - which means that you only see items that do fall in that box, but this does not prevent you from having objects outside of the crop box.
So when you use the arrow keys to move an object - you are still moving it in the same coordinate system for that page it was on - you are just moving it outside of the Crop box for that same page.

If you need to move it to another page - you can use Cut and Paste as keyboard shortcuts, or you can drag the selection with your mouse - and those operations will correctly transfer the object over to the coordinate system of the new page.

Kind regards,
Stefan
Loki@99
User
Posts: 532
Joined: Sat Dec 16, 2023 11:09 am

Re: Can't move objects across pages using keyboard arrow keys

Post by Loki@99 »

Hi Stefan,
Stefan - PDF-XChange wrote: Tue Feb 04, 2025 1:13 pm Hello Loki@99,

The PDF pages are each a "canvas" with a coordinate system and several "boxes" in that coordinate system. So you can have a "Crop" box - which means that you only see items that do fall in that box, but this does not prevent you from having objects outside of the crop box.
So when you use the arrow keys to move an object - you are still moving it in the same coordinate system for that page it was on - you are just moving it outside of the Crop box for that same page.

If you need to move it to another page - you can use Cut and Paste as keyboard shortcuts, or you can drag the selection with your mouse - and those operations will correctly transfer the object over to the coordinate system of the new page.
I personally don't really have an issue with it but looks like it is some odd behavior compared to Foxit PDF.
Major Stylus topics
- RemoveAnnotationsWithEraser T#6903
- MiniPopupMenuOnTextSelection T#6894
- AbnormalSpikes forum.pdf-xchange.com/viewtopic.php?p=179935&hilit=spikes#p179935
- ForceEraserPreview forum.pdf-xchange.com/viewtopic.php?t=42380
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19421
Joined: Mon Jan 12, 2009 8:07 am
Contact:

Re: Can't move objects across pages using keyboard arrow keys

Post by Stefan - PDF-XChange »

Hello Loki@99,

It is different indeed - as if you are dragging with the mouse - we will try to make sure that the whole shape is then placed inside the Crop box, but if you need to "hide" a part of such a shape - you can achieve it with the arrow keys.

E.g. here I am trying to drag a shape with my mouse:
image.png
image.png (54.09 KiB) Viewed 49 times
And the moment I release the mouse - I get this result:
image(1).png
image(1).png (25.28 KiB) Viewed 49 times
Whereas with the arrow keys I can get this:
image(2).png
image(2).png (33.29 KiB) Viewed 49 times
And the shape will stay there.

Kind regards,
Stefan
Loki@99
User
Posts: 532
Joined: Sat Dec 16, 2023 11:09 am

Re: Can't move objects across pages using keyboard arrow keys

Post by Loki@99 »

Stefan - PDF-XChange wrote: Tue Feb 04, 2025 1:32 pm It is different indeed - as if you are dragging with the mouse - we will try to make sure that the whole shape is then placed inside the Crop box, but if you need to "hide" a part of such a shape - you can achieve it with the arrow keys.
What you said makes sense if it's a "part" of an object which is still on the page.

What I'm talking about here is if the whole object is not on the page anymore. As seen in the GIF I sent above
Major Stylus topics
- RemoveAnnotationsWithEraser T#6903
- MiniPopupMenuOnTextSelection T#6894
- AbnormalSpikes forum.pdf-xchange.com/viewtopic.php?p=179935&hilit=spikes#p179935
- ForceEraserPreview forum.pdf-xchange.com/viewtopic.php?t=42380
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19421
Joined: Mon Jan 12, 2009 8:07 am
Contact:

Re: Can't move objects across pages using keyboard arrow keys  SOLVED

Post by Stefan - PDF-XChange »

Hello Loki@99,

Thanks! Yes - it is possible to completely move the object outside of the crop area, but still have it in that page's coordinate system.
E.g. you might want to have some form fields that persom some calculation, but are not shown to the user - so having a tool to achieve that is not a bad thing. You just need to be aware of how each move method works and what the result will be :)

Kind regards,
Stefan
Post Reply