Bug 260658 - Skip to function with one click in Outline menu
Summary: Skip to function with one click in Outline menu
Status: REOPENED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.1.60
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-18 21:53 UTC by Alexey Chernov
Modified: 2017-10-01 00:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Chernov 2010-12-18 21:53:00 UTC
Version:           4.1.60 (using KDE 4.5.4) 
OS:                Linux

I think it would be more useful if the editor would skip to function or class with one click on its name in Outline menu. Now I should click twice and the behavior is quite unpredictable: if I click fast it skip to item, if I click slow it opens the certain item inside menu and then I can click on link where def or decl to go to function.

I usually use Outline menu as function list menu and I think it would be great if it would be its default behavior.

Reproducible: Didn't try
Comment 1 Milian Wolff 2010-12-20 00:50:30 UTC
just as invalid as 260659 - use single click globally if you want that behavior.
Comment 2 Alexey Chernov 2010-12-20 08:57:15 UTC
reopening the same as bug #260659
small addition - both reports for KDevelop 4.1.80 (4.1.60 just because there's no 4.1.80 in the list).
Comment 3 Milian Wolff 2010-12-20 13:08:04 UTC
right, clicking it once with single click enabled just expands the item... I wonder how the default behavior should be... Open but not expand? How do you expand it then - if at all? hm
Comment 4 Alexey Chernov 2010-12-20 13:24:39 UTC
Yes, exactly, click expands the item now. I think there're some ways. For example:
1. to skip to function in source and to expand its item simultaneously
2. single click - skip to function, double - expand its item
3. single click everywhere on certain string - skip to function, single click on green arrow - expand its item

The essential thing is that I think skipping to function should be primary option of the menu and function details be secondary as I think one uses the menu to navigate through source code far more often than to get any details about some item (it's very useful, too, but maybe a little bit less priority than code navigation)

I think the ideal would be two use cases:
1. I want to use Outline menu for navigation. I open it, click on the certain string, the editor skips to function, Outline menu hides.
2. I want to get more information using Outline menu. I open it, click on the green arrow next to certain string (or double-click the certain string), the item is expanded, I read necessary information, and close the menu clicking somewhere outside. If I click any link the behavior is something like in p.1.
Comment 5 Francis Herne 2017-10-01 00:13:25 UTC
This works as requested in 5.2-git, it must have been fixed in the KF5 port or at some other point.
Comment 6 Francis Herne 2017-10-01 00:17:59 UTC
Sorry, no, this bug is for the menu and not the toolview. Still present in 5.2.