Modify

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#5809 closed defect (othersoftware)

Ctrl+Alt+click doesn't let you cycle through objects to be selected

Reported by: fsteggink Owned by: fsteggink
Priority: major Milestone:
Component: Core Version: tested
Keywords: selection cycle items Cc:

Description

In JOSM version 3751 Ctrl+Alt+click doesn't let you cycle through objects to be selected near the mouse cursor anymore. Only object scaling is working. This function was still working up until version 3701. I know that it is possible to use the middle mouse button, but my mouse only has a scroll wheel. It doesn't act as a middle click when pressing (+ it is too easy to scroll with it).

In order to check if things have changed, I checked the documentation. The help mentions that Alt+click is supposed to be used, but that doesn't work either. Note the typo of Alt ("Akt") when the scaling mode is being explained.

Since I work extensively with landuse, I urge you to fix this issue soon. Otherwise I have to revert back to older versions of JOSM, and that's not something I'm looking forward to.

Attachments (0)

Change History (8)

comment:1 Changed 12 years ago by Cobra

A possible solution in josm could be to use alt+rightclick or ctrl-alt-scroll for this.

A much more simple (and immediate) solution for you is the third-button-emulation (left and right mouse button pressed simultaneously simulates a press of the third/middle button) of your OS. Alternatively, you could buy a new mouse.

comment:2 Changed 12 years ago by fsteggink

Hi Cobra,

I've tested your suggestions. Alt+rightclick gives me the context menu. (Ordinary rightclick still lets me pan in the map.) Ctrl+alt+scroll is not doing anything.

I've checked the emulation. It should work, although while testing this with xinput (I'm using Ubuntu) clicking with left+right was first seen as a middle click, but after I clicked with the scroll wheel it was only seen as a left+right click fast after each other. Using the buttons on the trackpad should also give a middle click (mouse button event 2), but that is not doing anything in JOSM (while using Ctrl+Alt). This is also very inconvenient, when the rest of the work is done with the mouse.

Buying a new mouse is not a good suggestion. People will use all sorts of mouses with JOSM, so it should work with the most common types. I'm seeing much more mouses with scrollwheels around than with three buttons.

For the moment I've reverted to using version 3701, but that is not a long term solution. I hope this will fixed soon. I have absolutely no problem if this is to the detriment to scaling, which is not a useful function. (Rotation is btw...). Eventually scaling could be mapped to alt+shift+click. It is a new function, so it should not have been mapped to a click combination which was used for something else (i.e. cycling through objects near the mouse pointer). Since it's new, there is noone yet who will care that the scaling gets remapped to another combination.

Thanks.

comment:3 in reply to:  2 Changed 12 years ago by Cobra

Replying to fsteggink:

I've tested your suggestions. Alt+rightclick gives me the context menu. (Ordinary rightclick still lets me pan in the map.) Ctrl+alt+scroll is not doing anything.

Eh. These were suggestions how this problem could be solved by changing some code in the future ;)

comment:4 Changed 12 years ago by fsteggink

So, is there a chance that the old functionality (i.e. restoring Ctrl+Alt+click to cycle through features) is restored in the meantime, pending the decision about how this will be dealt with in the future? Not being able to use this combo really impedes my work. I can't imagine this is difficult. As you guess, I'm not running to a shop to get a new mouse, just because something is broken in JOSM...

comment:5 Changed 11 years ago by xeen

Owner: changed from team to fsteggink
Status: newneedinfo

fsteggink, can you confirm this still happens for you? I checked with 4064 (currently in debian testing) and the latest release and both versions cycle through the objects under the cursor when alt+left clicking.

If it does can you please attach Help → "Show Status Report" and an example area where this doesn't work for you? To obtain the latter simply zoom in on the overlapping ways, then click on the coordidantes in the status bar and copy the link from the window that pops up.

comment:6 Changed 11 years ago by fsteggink

Hi Xeen, it might be that the fact that Alt+click is not working is some Ubuntu issue. It has many keyboard and mouse bindings, which mess up behavior in many applications. I'll try to disable / remap them.

comment:7 Changed 11 years ago by fsteggink

Resolution: othersoftware
Status: needinfoclosed

Yup, found it in the config editor (gconf-editor) Apps->Metacity->General, then setting mouse_button_modifier. I've changed it to something else (ctrl+alt+shift), and now the cycle behavior finally works for me :) I didn't have to bother with those settings that much in the time I've been using Ubuntu, so this was not familiar terrain.

comment:8 Changed 11 years ago by xeen

Great! You found the source of the issue. I've added some documentation to http://josm.openstreetmap.de/wiki/Help/MapView in case others have the same problem. It would be very nice if you could check if everything is correct and maybe add a little more detail. Or if you are super-friendly maybe actually document the map view with its tons of modifiers for different tools and the like :)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain fsteggink.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.