Modify

Opened 5 years ago

Last modified 5 years ago

#9065 new defect

incorrect selection logic

Reported by: anonymous Owned by: Gilbert54
Priority: normal Milestone:
Component: Plugin buildings_tools Version: tested
Keywords: building_tool, object selection Cc:

Description

What steps will reproduce the problem?

  1. select an existing object (i.e. a house)
  2. create a new building nearby using the buiding plug-in

What is the expected result?

  • the previously selected object is un-selected
  • the newly created building is automatically the selected object

What happens instead?
the previously selected object remains selected, the newly created building is not selected. This is annoying as all actions still apply to the previously selected object, while logic (well, my logic...) dictates that the most recently created object has my visual focus and should be the subject of all actions until I create another new object or select another existing object.
I suppose that this is a defect in the building tool ?

Please provide any additional information below. Attach a screenshot if
possible.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-08-07 01:35:24
Last Changed Author: Don-vip
Revision: 6115
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-08-07 00:04:24 +0200 (Wed, 07 Aug 2013)
Last Changed Rev: 6115

Identification: JOSM/1.5 (6115 en_GB) Windows 7 64-Bit
Memory Usage: 494 MB / 494 MB (211 MB allocated, but free)
Java version: 1.7.0_25, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Xms16m, -Xmx512m]
Dataset consistency test: No problems found

Plugin: buildings_tools (29778)
Plugin: download_along (29778)
Plugin: notes (0.3)
Plugin: print (29529)
Plugin: terracer (29771)
Plugin: utilsplugin2 (29771)

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by mdk

The function exists, but i's a little bit hidden:

  • Go to menu "Data" -> "Set building size" (CTRL-ALT-B)
  • Check "Auto-select building"

comment:2 in reply to:  1 Changed 5 years ago by Gilbert54

Replying to mdk:

The function exists, but i's a little bit hidden:

  • Go to menu "Data" -> "Set building size" (CTRL-ALT-B)
  • Check "Auto-select building"

Thanks for the tip, but it doesn't work. Did you try it ?
I'm using Version 7347 on Java 1.8.0_11.

comment:3 Changed 5 years ago by mdk

Hmmm, you are (partly) right.

Indeed this option only triggers the selection of the new building, when nothing is selected. But if a building is already selected, the selection didn't change!

In my opinion it's a bug, that "Auto-select building" option is ignored, when there is already something selected!

If something is selected when drawing a new building, the building is aligned with any way segment of the already selected way. For drawing the next building, it doesn't make a (big) difference, if the first building is still selected, or the last building is newly selected, because both are aligned to each other. But for adding tags or other operations on the selected building, it makes a big difference!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Gilbert54.
as The resolution will be set.
to The owner will be changed from Gilbert54 to the specified user.
The owner will change to anonymous
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from Gilbert54 to anonymous.

Add Comment


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

 
Note: See TracTickets for help on using tickets.