Modify

Opened 7 months ago

Closed 3 days ago

Last modified 4 hours ago

#24523 closed enhancement (fixed)

[Patch] Add action to close all but the active tab in image viever

Reported by: GerdP Owned by: GerdP
Priority: normal Milestone: 26.05
Component: Core Version:
Keywords: Cc:

Description (last modified by GerdP)

My session file contains many different geoimage layers, one for each day.
When working with some older images I often see far too many tabs in the image viewer dialog.
too many tabs

There is no easy way to close these tabs, I have to click the small x-icon for each tab, often I miss the x and activate the tab instead.
There should be an action which closes all but the active tab.

Attachments (2)

24523.patch (3.9 KB ) - added by GerdP 7 months ago.
Patch to implement shortcut Alt+Y to close all but the active tab
image-tabs.png (670.1 KB ) - added by GerdP 7 months ago.
too many tabs

Download all attachments as: .zip

Change History (10)

by GerdP, 7 months ago

Attachment: 24523.patch added

Patch to implement shortcut Alt+Y to close all but the active tab

by GerdP, 7 months ago

Attachment: image-tabs.png added

too many tabs

comment:1 by GerdP, 7 months ago

Description: modified (diff)
Owner: changed from team to GerdP

comment:2 by GerdP, 7 months ago

Note: I'll work a while with this patch to see if there are any drawbacks. For now, there is no button for the action and it is always enabled. If needed I may change that so that the user has to right click on a tab to see a menu with "close tab" and "close other tabs".

comment:3 by GerdP, 3 days ago

Resolution: fixed
Status: newclosed

In 19579/josm:

fix #24523: Add action to close all but the active tab in image viever

  • apply patch which implement shortcut Alt+Y to close all but the active tab

comment:4 by GerdP, 3 days ago

Milestone: 26.05

comment:5 by aceman, 5 hours ago

Why is the string "close-other-tabs" marked for translation? Is it a text displayed in the UI? Why then the many hyphens? Or is it just an internal code of some action?

comment:6 by GerdP, 5 hours ago

Thanks for the review. I have to double check, but I am pretty sure it's a misunderstanding on my side.

comment:7 by GerdP, 4 hours ago

In 19581/josm:

see #24523: Add action to close all but the active tab in image viever

  • Unify translatable strings to "Close other tabs"

comment:8 by GerdP, 4 hours ago

The parameter specifies "the action's text as displayed on the menu (if it is added to a menu)"
So far it is not added to any menu, so I didn't notice the unusual spelling.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain GerdP.
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.