Bug 76357 - Undocked documentation and tree view windows could have hot keys for faster show and hide
Summary: Undocked documentation and tree view windows could have hot keys for faster s...
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (other bugs)
Version First Reported In: 1.2
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-28 17:17 UTC by Iges Seem
Modified: 2025-08-20 14:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
List of available shortcuts (36.28 KB, application/pdf)
2025-08-20 10:51 UTC, Ralf Habacker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Iges Seem 2004-02-28 17:17:43 UTC
Version:           1.2 (using KDE 3.2.0, compiled sources)
Compiler:          gcc version 3.2.3
OS:          Linux (i686) release 2.4.24

Since most KDE apps have hot keys (shortcuts) why not umbrello. I like to make as much screen space available for the diagrams as possible so I undock the documentation and tree view windows.

I can make those wins active using alt+tab but it would be much faster to use a shortcut to show/hide (not changing focus) the documentation and/or tree view wins. Show/hide would also not clutter the taskbar (alt+tab) since most
of us are running multiple programs at the same time ;)

regards,
Iges.
Comment 1 Jonathan Riddell 2004-02-28 17:27:37 UTC
What you're after is a shortcut to "Show only diagram window" and hide all the others.  A good idea.
Comment 2 Iges Seem 2004-02-29 16:55:45 UTC
Well basically yes, but a shorcut feature in general like in Kate for example, would by nice. Since there are lot of operations that could benefit form it.

Such as adding a new attribute to a class, currently if the class is selected it's possible to right click and from the popup menu to choose New->Attirbute. If it would be possible to assing a shortcut to New->Attribute then one would just have to select the a class on diagramm and press the shortcut to get the new attribute (attribute properties) dialog box.

And there other featers that could use the same logic. New->Operaton, Show->...,
Rename and so on.
Comment 3 Ralf Habacker 2025-08-20 10:51:15 UTC
Created attachment 184279 [details]
List of available shortcuts

Umbrello supports several keyboard short cuts as shown by the appended list.
Comment 4 Ralf Habacker 2025-08-20 14:38:03 UTC
(In reply to Iges Seem from comment #2)
>  If it would be possible to assing a shortcut to
> New->Attribute then one would just have to select the a class on diagramm
> and press the shortcut to get the new attribute (attribute properties)
> dialog box.

The feature would be nice, but implementing it will be challenging. Currently, the buttons are created directly when the dialogs are created and linked to the methods for opening the dialog.

To implement this requirement, this needs to be reworked. When the application is started, actions must be created for each of the targeted tasks so that they are visible in the shortcut configuration page. Furthermore, global buttons are necessary, which are provided with the shortcuts of the associated actions (and updated when changes are made). For these buttons, connections to the methods of the relevant dialog must be set up and these must be rebuilt so that they can be called up before the dialog is opened. The regular dialogs must then use the prepared buttons instead of defining new ones, but must not delete them when closing or canceling.
Comment 5 Ralf Habacker 2025-08-20 14:43:52 UTC
 (In reply to Ralf Habacker from comment #3)
> Created attachment 184279 [details]
> List of available shortcuts
> 
> Umbrello supports several keyboard short cuts as shown by the appended list.

Since this ticket is titled “Undocked documentation and tree view windows could have hot keys for faster show and hide,” the issue has already been resolved, as keyboard shortcuts are already available for the windows mentioned. 

What remains is an extension to assign additional tasks with shortcuts, but that is another topic.