Can't drag and drop - DITA Maps Manager

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Stacey
Posts: 63
Joined: Tue Mar 14, 2017 12:36 am

Can't drag and drop - DITA Maps Manager

Post by Stacey »

Hi There:
I assume I pressed something inadvertently, but I can't figure out how to fix this.
In the DITA Maps Manager view, I've always been able to select and drag topics into whatever order was needed.
Now, if I click on a topic, it gives me the + icon and instead of being able to arrange the topics, it either opens the topic or adds an xref for the topic into the open topic.
draganddrop2025-02-06_09-52-26.png
You do not have the required permissions to view the files attached to this post.
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: Can't drag and drop - DITA Maps Manager

Post by Radu »

Hi Stacey,

You are using Oxygen on Windows, right?
How about if you restart Oxygen, does the problem persist?
How about if after you start the drag you press the CTRL key? It should switch between copy/move drag modes on Windows.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Stacey
Posts: 63
Joined: Tue Mar 14, 2017 12:36 am

Re: Can't drag and drop - DITA Maps Manager

Post by Stacey »

Hi Radu:
Yes, I'm using Windows 11.
It persists when I restart oXygen and when restart the computer.
If I hold CTRL, it does the same thing. Maybe the system thinks I'm holding down the CTRL key for some reason?
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: Can't drag and drop - DITA Maps Manager

Post by Radu »

Hi Stacey,
I also suspect that somehow the system considers the Ctrl key pressed somehow, if you long press CTRL for 5-6 seconds and then release it, then drag and drop does the behavior persist?
As a workaround maybe you can use Cut/Paste for now.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Stacey
Posts: 63
Joined: Tue Mar 14, 2017 12:36 am

Re: Can't drag and drop - DITA Maps Manager

Post by Stacey »

Hi Radu:
Yes, it seems to even after a 6-second hold of CTRL.
But here's a fun twist:
I'm using a laptop with two monitors connected.
I've never had difficulty doing it from whichever screen I happened to have oXygen on previously; but right now I CAN drag-and-drop on the laptop screen, but not on either of the connected monitors.
It's a workaround, but if you can think of anything else I can try that might allow me to drag and drop from the monitors as well, I would appreciate it.
Thanks!
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: Can't drag and drop - DITA Maps Manager

Post by Radu »

Hi Stacey,
I asked the company hardware geek for help on this one but he did not have a clear idea either... how about unplug the external monitors and plug them in again in the laptop, maybe try to reproduce the problem with only one monitor, than with the other?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Can't drag and drop - DITA Maps Manager

Post by adrian »

Hi,
I asked the company hardware geek for help on this one but he did not have a clear idea either...
That would be me...

What version of Oxygen/Java are you running (menu > Help > About, System properties, java.version)?

I have a guess, but have not seen this issue actually happen in practice in Oxygen.
So other that having the Ctrl key stuck or sticky keys enabled (see Windows Settings > Keyboard), it shouldn't behave like that ("+" icon indicates "copy").
However, this feature depends on exact mouse hover coordinates within the view and that could theoretically have issues when display scaling is involved (I've seen this issue in other apps).
So my guess is that the display scaling setting could probably trigger this, if you have multiple screens each with its own different scaling setting. So, check what scaling setting you have for each display, Windows Settings > System > Display, Scale and layout (check for each display).

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Stacey
Posts: 63
Joined: Tue Mar 14, 2017 12:36 am

Re: Can't drag and drop - DITA Maps Manager

Post by Stacey »

Hi Radu and Adrian:

Good guess! Here's what I saw:
<oXygen/> XML Editor 27.0, build 2024121306
java.version 17.0.11
java.version.date 2024-04-16
In Settings > Accessibility > Keyboard, it says Sticky Keys = Off.
System > Display > Scale: laptop = 125 % (recommended), monitor 1 = 125%, monitor 2 = 100% (recommended).
I tried "Duplicate desktop on 2 and 3" (which I think had monitor 3 duplicating monitor 2 instead of the laptop screen) and I didn't have the issue.
I went back to "Extend desktop to this display" and the issue occurred again.
I set monitor 2 to "100% recommended", and I still had the issue.
I set the laptop to 100% (so all displays at 100%), and that seems to have fixed the issue.
I did also try setting monitor 2 back to 125% (with laptop at 100%), and the issue was a bit different - I could drag and drop, but the cursor wasn't in the same spot as I saw it on the screen - it was higher up in the tree.
oXygen_draganddrop_2025-02-07_07-03-28.png
I do think I've always had my laptop at the "125% recommended" previously, because the text seems a bit smaller now. I know I can enlarge the Text/Grid/Author text, but is there a way to enlarge the text in the DITA Maps Manager/Attributes views, etc.?

I was also recently trying to enlarge things in general to see if I could take higher resolution screenshots, so I can see this issue happening as a result of whatever settings I may have adjusted there.

Thanks!
You do not have the required permissions to view the files attached to this post.
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Can't drag and drop - DITA Maps Manager

Post by adrian »

Hi,
I did also try setting monitor 2 back to 125% (with laptop at 100%), and the issue was a bit different - I could drag and drop, but the cursor wasn't in the same spot as I saw it on the screen - it was higher up in the tree.
Note that Oxygen/Java does not handle dynamic changes in scaling. This means it only knows the scaling setting that was set at the moment it was started for the main display. So, when testing, you should always restart Oxygen after changing the scaling setting of the main display.
laptop = 125 % (recommended), monitor 1 = 125%, monitor 2 = 100% (recommended).
If the laptop screen (set to 125%) is the "main/default display", it should theoretically also work fine on the other screen with 125% scaling.
I set the laptop to 100% (so all displays at 100%), and that seems to have fixed the issue.
That could be a workaround, however, setting the scaling setting for all displays to 125% could also work. Have you tried that possibility? Restart Oxygen after changing it, just in case.
I know I can enlarge the Text/Grid/Author text, but is there a way to enlarge the text in the DITA Maps Manager/Attributes views, etc.?
If you want to go that route, all font settings can be adjusted in Oxygen in Options > Preferences, Appearance > Fonts. The last three font settings affect the general UI, but they also require an app restart.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply