After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 556718 - Function selector should scroll to top when changing categories
Function selector should scroll to top when changing categories
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
git master
Other All
: Normal enhancement
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-10-17 12:21 UTC by Marlon Nelson
Modified: 2008-10-18 03:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marlon Nelson 2008-10-17 12:21:29 UTC
In the function selector, when you select a new category, the list of functions for that category should be positioned to display the first function in the list, instead of positioning it based on the previous category.

The position of the function description should also be reset when the category/function changes.

Other information:
To see the current behavior, select the Finance category and scroll the functions list to the middle.

Then, select the Information category.
Comment 1 Marlon Nelson 2008-10-17 12:41:17 UTC
Or maybe this would be better:

Have each category remember the position of its function list and restore it when subsequently selected, positioning at the top of the list the first time.
Comment 2 Andreas J. Guelzow 2008-10-17 13:54:54 UTC
Why should the position of the function description be reset on such a change? I think it would be disconcerting if I have to close that pane (or open it wider) again and again!

And I am not sure why I would ever wantto position the function list at the same place as before. If I am going to use a function I used recently I would probably go to the "recent" function list rather than a specific category.
Comment 3 Marlon Nelson 2008-10-17 15:10:14 UTC
The reason for setting the positioning of the function description to the first line of the description is based on the assumption that you'd want to start reading it from the beginning.

That assumption isn't always true, because you might be switching back and forth between two similar functions, looking for differences in the descriptions (e.g. COUPNCD and COUPPCD).

In my case, though, when I use the function selector dialog window to browse through the function lists, looking at the available functions, I sometimes find myself having to manually scroll the description pane back to the top of the description, which is what I'd like to avoid.

So, a refinement of the enhancement request for the function description is:

The first time a function description is displayed, it should be positioned so that the first line is visible.
Comment 4 Marlon Nelson 2008-10-17 15:55:06 UTC
The two options I suggested for the enhancement to the function list positioning are improvements to the current behavior which makes no sense to me.

When displaying the list of functions for a particular category, it makes sense to me to either:
  A) always display the 1st function for that category
or
  B) display the functions that were previously displayed for that category

Option A is useful to someone who is browsing through the functions, category by category.

Option B is useful to someone who is looking at function A in category X, switches to function B in category Y, and then wants to return to function A.

A combination of A and B makes sense to me also.

Are there any reasons to choose the current behavior?

Are there any other options?
Comment 5 Andreas J. Guelzow 2008-10-17 16:17:09 UTC
Marlon, I agree that the current behaviour does not make sense. I just don't like (B).  (A) looks desirable for me.

I also agree that the function description should be positioned to the first line.
Comment 6 Andreas J. Guelzow 2008-10-18 03:01:14 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.