Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#19884 closed enhancement (wontfix)

Take screenshot of JOSM for bug reports

Reported by: Allroads Owned by: team
Priority: normal Milestone:
Component: Core bugreport Version: tested
Keywords: screenshot Cc:

Description

I was looking for.
If a screenshot method already exist in JOSM or the plugins.
That takes a image of the JOSM editor field.

So that the image can be used by a bug reports API, a button, that saves the image appendix in a bug report.

If there are Openstreetmap layer in use, a image with contribution note.

Attachments (0)

Change History (8)

comment:1 by Don-vip, 4 years ago

Component: PluginCore bugreport
Summary: Screenshot of editor field.Take screenshot of JOSM for bug reports

comment:2 by Klumbumbus, 4 years ago

If implemented it should be opt-in for privacy reasons.

comment:3 by stoecker, 4 years ago

Resolution: wontfix
Status: newclosed

Also screenshots usually aren't helpful. There are very rare cases. A textual description is much better most of the time, as this is searchable.

comment:4 by Allroads, 4 years ago

In the Netherlands we have imported buildings, but buildings are changing, in the Government BAG data there are mistakes, wrong drawings, overlapping buildings, crossing ways, self intersecting ways, etc., we then can make a bugreport to the Government on a website, every time writing name, mailadres, etc. and upload a screenshot for a single report but there is also a API "terugmelding BAG" for reporting issues, a Openstreetmap contributor have made a Bugreport plugin. But we need a screenshot of JOSM. On what edge of the building the problem is.

Making a screenshot with for example Microsoft cut program, saving it in a folder, on the website searching for the path to that folder and upload, is intensive.

I have been invited twice by a municipality how i get these bugs in drawings, I also took a screenshot of JOSM when I reported on the website and uploaded it, manual intensive. An image was much appreciated with some text.
Now we have the JOSM BAG report plugin we should make it easy to get a screenshot of JOSM and send it with the building report.

Therefor this enchancement question.

It is not for a JOSM bugreport but to a the Government with a API.
I hope there is a solution for this so that others can also use it.

comment:5 by stoecker, 4 years ago

You want to copy the currently displayed editor contents? That should be possible from a plugin without any changes to the core.

in reply to:  5 ; comment:6 by anonymous, 4 years ago

Replying to stoecker:

You want to copy the currently displayed editor contents? That should be possible from a plugin without any changes to the core.

Yes.

That is why I choosed for "Component: Plugin" at the start of the ticket. I thought it is more plugin matter. Don-vip made it "Core bugreport".

It is more a general question, can it be done? Where is it done? How to do it?

Maybe the "Core bugreport" must be set back to "Component: Plugin"

comment:7 by stoecker, 4 years ago

MapView/NavigatableComponet creates the display. I'm pretty sure there is a buffer which can be accessed and later converted to PNG. Or you recreate the current MapView and overwrite the paint function or ...

It is more a general question, can it be done? Where is it done? How to do it?

Please keep in mind this is a bug tracker, not forum. To find a way you need to investigate this yourself.

A generic request for a feature like a screenshot tool is a wontfix. But if in the process of your investigation you find that a helper function is required in core or that an interface must be public instead of private than open a report for this and it will be fixed in core.

in reply to:  6 comment:8 by Don-vip, 4 years ago

Replying to anonyme:

Maybe the "Core bugreport" must be set back to "Component: Plugin"

This feature would be useless as a plugin. The only useful use case would have been as a feature to attach screenshot to bug reports. But as said, even this is not so helpful.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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