discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ctrl-mouse drag does not work - solved


From: Andreas Höschler
Subject: Re: ctrl-mouse drag does not work - solved
Date: Tue, 12 May 2020 00:11:49 +0200

Hi all,

I usually start a drag operation with ctrl-drag in my apps. I just realised that this (no longer) works under GNUstep. Instead a context menu is raised!? I first thought this was due to a WindowMaker setting. But I see the same behaviour under xfce. Has this changed in GNUstep over the years? On MacSOX and with the old GNUstep tree (we were using years ago) we could happily use Ctrl-left-mouse-down and then drag to initiate a drag operation. Can this be reenabled somehow (may be with a global default) in the current GNUstep release?

I am not using Drag&Drop that much in GNUstep. This might be because I implemented it and still feel bad about it. But the basic principles haven’t changed since your version of GNUstep. For GNUstep itself no modifier key is required to start a drag operation pressing the left mouse button (which may of course be redefined to the right or any other one) of the mouse and moving the mouse a bit should start this. Of course specific views may require additional keys to be press to start specific operations. Gorm uses this when creating connections between elements. Gorm is really the best place to start testing D&D with GNUstep as this gets used a lot there. And there it is also easy to see when a Window Manager steals a specific key combination. In that case you will have to either reconfigure your WM or define different modifiers in GNUstep. For GNUstep the simplest way to redefine modifiers keys is in SystemPreferences.

Sorry for the noise. I am actually connecting via Jump Desktop to a virtualised Ubuntu box running on a hypervisor. It turned out that Jump Box was stealing the Ctrl-Mouse Left combo and transformed it into a right-click!? :-( I could switch this off. Now dragging works!! :-)

I have not yet managed to get Command - ... (e.g. Command - q to quit an application, Command - w to close a window,...) working though.I have 

defaults write NSGlobalDomain GSFirstCommandKey Meta_L

on GNUstep so the instance should be ready to go. But it seems Jump Desktop is not forwarding Command - ...  shortcuts through to the remote instance. I have tried out all possible settings in the Jump Desktop preferences. Is anyone using Jump Desktop to access a remote GNUstep/Linux instance?

So close to becoming productive ... :-)

Thanks a lot,

 Andreas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]