Modify

Opened 8 years ago

Closed 6 years ago

#13777 closed enhancement (fixed)

Allow to select text in some message boxes

Reported by: naoliv Owned by: team
Priority: normal Milestone: 18.10
Component: Core Version:
Keywords: timeout Cc:

Description

Could JOSM allow to select (and thus copy) the text in message boxes like this, please?

https://i.imgur.com/Ey9QMRA.png

JOSM:

Build-Date:2016-10-09 13:51:08
Revision:11110
Is-Local-Build:true

Identification: JOSM/1.5 (11110 SVN pt_BR) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 470 MB / 4029 MB (216 MB allocated, but free)
Java version: 1.8.0_102-8u102-b14.1-2-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: openjdk-8-jre:amd64-8u102-b14.1-2
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-9
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Attachments (0)

Change History (4)

comment:1 by Don-vip, 6 years ago

Not easy to reproduce. Do you know an OSM object with a VERY LARGE number of versions? This might increase the likelyhood to get a timeout when fetching history.

comment:2 by Don-vip, 6 years ago

Keywords: timeout added

Ah, gotcha:

  • src/org/openstreetmap/josm/gui/history/HistoryLoadTask.java

     
    66
    77import java.awt.Component;
    88import java.io.IOException;
     9import java.net.SocketTimeoutException;
    910import java.util.ArrayList;
    1011import java.util.Collection;
    1112import java.util.HashSet;
     
    153154    protected void finish() {
    154155        if (isCanceled())
    155156            return;
     157        lastException = new OsmTransferException(new SocketTimeoutException("yololo"));
    156158        if (lastException != null) {
    157159            ExceptionDialogUtil.explainException(lastException);
    158160            return;

=> makes all history actions fail :)

comment:3 by Don-vip, 6 years ago

Milestone: 18.10

comment:4 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

In 14340/josm:

fix #13777 - allow to copy/paste error message from most of our error dialogs

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.