Modify

Opened 3 months ago

Closed 8 weeks ago

Last modified 8 weeks ago

#19437 closed enhancement (fixed)

Warn before opening too many urls

Reported by: skyper Owned by: team
Priority: normal Milestone: 20.08
Component: Core Version:
Keywords: template_report history advanced info web warning Cc: simon04

Description (last modified by skyper)

Similar to the warnings about opening too many history viewers or relation editors a warning about opening many urls at once might be useful.

What steps will reproduce the problem?

  1. Have a bunch of route relations selected (in my case 30)
  2. Unintentionally pressed Ctrl+Shift+H or Ctrl+Shift+I

What is the expected result?

A warning dialog asking if I really want to open 30 new tabs in my webbrowser

What happens instead?

No warning and my webbrowser tries to open as many of the 30 relations' history pages as possible.

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

At least history needs quite some resources which are already rare, atm.
Are there more actions than "Advanced Info (web)" and "History (web)" with same behavior? Tag2link already has this feature, so it only needs to be called in the other situations, as well.

Edit: There is a warning but no preference setting to set an individual limit.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-06-23 23:38:54 +0200 (Tue, 23 Jun 2020)
Revision:16713
Build-Date:2020-06-24 01:30:49
URL:https://josm.openstreetmap.de/svn/trunk

Attachments (0)

Change History (3)

comment:1 Changed 3 months ago by skyper

Description: modified (diff)

Strange I can not reproduce. Now I get a warning.

What I did not find is the preference setting, though. I want to set the limit down to five.

comment:2 Changed 8 weeks ago by simon04

Resolution: fixed
Status: newclosed

In 16833/josm:

fix #19437 - OpenBrowserAction: make warning threshold of browser windows configurable

Advanced preference key warn.open.maxbrowser

comment:3 Changed 8 weeks ago by simon04

Milestone: 20.08

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.

Add Comment


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

 
Note: See TracTickets for help on using tickets.