Bug 64625 - usability: RBM submenu "Go to definition" is too large
Summary: usability: RBM submenu "Go to definition" is too large
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: 3.0.0a6
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-21 05:08 UTC by shift
Modified: 2005-05-16 23:39 UTC (History)
0 users

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 shift 2003-09-21 05:08:42 UTC
Version:           3.0.0a6 (using KDE 3.1.3)
Installed from:    SuSE
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.21-67-default

when editing the sourcefiles, there is very handy entries in the Right-Mouse-Button menu called "Go to Definition" and "Go to Declaration". But when i try to open these -- they simply do not fit my screen! (1024x768) -- it is too wide, and too high. 

some ideas: 

for each entry, omit the namespace, if it is the only namespace in the file, or even the class name, if it is the only class whose methods are in this file, which is frequient. 
maybe the args list should be omitted as well, if there is no overloading, or at lease, the argument name should be taken out for sure -- just argument types is enough. 

Or maybe in the menu list itself there should be only class::method names, but all the arglist and further details should appear only in the tool-tip. 

maybe, if there are multiple namespaces or classes in one file, it makes sense to group them in sub-menus as well. 

and -- when the height of the submenu exceeds the height of the screen -- i think it should not be multicolumn, but scrollable instead.
Comment 1 shift 2004-05-17 00:57:39 UTC
well -- this bug does not bother me, when i work at resolution of 1600x1200,
but when i work on my notebook with resolutuon of just 1024x768, and there is a big number of methods with long arg-lists -- this submenu becomes larger than the whole screen -- this bug still exists (as of v3.0.3) 
Comment 2 Jens Dagerbo 2004-05-20 14:24:10 UTC
It sure bothers me on 1600x1200.. 

This implementation is nuts. I'm working on providing the functionality in a different (IMHO, better) way and making this "please hide my screen" feature optional (or gone, if I can get away with that..;) )
Comment 3 Benjamin 2004-11-06 18:23:05 UTC
May be a scollable list would be an easy solution to this bug..
I think it won't be too harde to do so fi the scrollable object exist :)
Comment 4 Alexander Neundorf 2004-11-08 18:35:27 UTC
How about getting rid of this menu from the rmb menu ?
It isn't really context sensitive, and there is also this combobox in the toolbar which shows all functions of ther current file (which lacks a shortcut)

Bye
Alex
Comment 5 Sascha Cunz 2005-05-16 23:39:59 UTC
from chat:
[23:54:17] <sacu> adymo: RMB "go to declaration/definition" was removed?
[23:54:45] <adymo> sacu: it's an option now
[23:55:26] <sacu> ah, so i'll close #64625