[rkward-tracker] [ rkward-Bugs-3452241 ] Factor selection popup in data editor can get out of screen

SourceForge.net noreply at sourceforge.net
Tue Dec 6 10:13:20 UTC 2011


Bugs item #3452241, was opened at 2011-12-06 02:13
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3452241&group_id=50231

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Factor selection popup in data editor can get out of screen

Initial Comment:
In the data editor, if one of a data frame's variables is a factor containing many levels, editing one cell results in a very big popup menu with all factor levels filling the screen. The menu doesn't show all of the levels since there are too many of them to fit on screen, and yet one cannot go out of the menu using the mouse because there's nowhere to click. All in all, this feels badly broken. ;-)

Having many factor levels can sound silly, but that's how R imports character variables from CSV files, so that's not an uncommon scenario.

As a short-term fix, I think the popup menu shouldn't appear if there are more than 50 or 80 levels, so that the menu keeps a reasonable size. Anyway, when there are too many choices, it's an efficient solution to select a level.

The better fix would be to provide auto-completion once the user has typed enough letters that the possible choices are under 50. But hand-editing very large factors isn't probably a common use case, so maybe that's not worth it: as long as the editor doesn't do weird things, it's OK.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3452241&group_id=50231




More information about the rkward-tracker mailing list