Modify

Opened 6 years ago

Last modified 5 years ago

#15692 new defect

Cannot add/use buttons in PicLayer plug-in

Reported by: dhekkir Owned by: rebsc
Priority: normal Milestone:
Component: Plugin piclayer Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Installed PicLayer plug-in
  2. Tried using it, managed to import a JPG image as a new layer, but tried to rotate/move it, didn't work
  3. Tried clicking on the "double right arrow" on the Edit toolbar (to show the new PicLayer buttons), but I am unable to add them to the Edit toolbar, so the plugin becomes useless.

What is the expected result?

Clicking on a PicLayer button in this "show/hide menu" should make them visible on the Edit toolbar, so that I could use them.

What happens instead?

Nothing, it's as if I hadn't clicked on anything. Clicking on any non-PicLayer button here does the expected: hide it from the toolbar if already shown, otherwise adds it to the toolbar.

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

Had a slightly older JOSM, tried updating it, nothing changed. Tried using the Advanced Preferences editor: there are some sidetoolbar.hidden.org.openstreetmap.josm.plugins.piclayer.actions.transform.* entries, some set to true, some set to false, some unset. I tried setting several of them, both to true and to false, but nothing changes, the buttons never show up on the Edit toolbar.

Even when running JOSM with --debug, there are no messages whatsoever related to clicking on the PicLayer buttons to be shown.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-11-26 14:31:59 +0100 (Sun, 26 Nov 2017)
Build-Date:2017-11-26 13:34:54
Revision:13170
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13170 en) Linux Fedora release 25 (Twenty Five)
Memory Usage: 1534 MB / 3541 MB (533 MB allocated, but free)
Java version: 1.8.0_151-b12, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1200
Maximum Screen Size: 1920x1200
Dataset consistency test: No problems found

Plugins:
+ PicLayer (33822)
+ importvec (33902)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1

Last errors/warnings:
- W: Update plugins - org.openstreetmap.josm.plugins.PluginHandler$UpdatePluginsMessagePanel[,0,0,0x0,invalid,layout=java.awt.GridBagLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Region [WMS_BLOCK_v2] Resetting cache
- W: Region [WMTS_BLOCK_v2] Resetting cache

Attachments (2)

Screenshot_20171224_164307.png (75.4 KB ) - added by dhekkir 6 years ago.
Screenshot of the "contextual menu" which should allow me to add PicLayer buttons to the Edit toolbar, but clicking on any of them does nothing; clicking on non-PicLayer buttons works normally.
Screenshot_20171224_173252.png (2.7 KB ) - added by dhekkir 6 years ago.
Sceenshot of buttons in Edit toolbar, only available when the plug-in is installed, but which disappear after closing/restarting JOSM.

Download all attachments as: .zip

Change History (6)

by dhekkir, 6 years ago

Screenshot of the "contextual menu" which should allow me to add PicLayer buttons to the Edit toolbar, but clicking on any of them does nothing; clicking on non-PicLayer buttons works normally.

comment:1 by dhekkir, 6 years ago

In fact this bug seems a duplicate of https://josm.openstreetmap.de/ticket/11732.

by dhekkir, 6 years ago

Sceenshot of buttons in Edit toolbar, only available when the plug-in is installed, but which disappear after closing/restarting JOSM.

comment:2 by dhekkir, 6 years ago

Ok, so I think I understood the issue: after loading an image as a new layer, this layer is shown but NOT activated. And all of the PicLayer buttons do NOT work on any other layer. They show up automatically when this new layer is manually set as active, and disappear when another layer is set as active. However, the fact that the buttons still show up and do nothing in the other layers is really unintuitive and, ideally, should be addressed.

I think the plug-in description or somewhere highly visible should indicate this fact, since from the bug reports, I'm not the only user having issues with it.

comment:3 by Don-vip, 6 years ago

Ticket #11732 has been marked as a duplicate of this ticket.

comment:4 by Don-vip, 5 years ago

Owner: changed from Larry0ua to rebsc

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain rebsc.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rebsc to the specified user.
Next status will be 'needinfo'. The owner will be changed from rebsc to dhekkir.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from rebsc to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.