Issue 5114 - unable to change the picklist (AKA MRU) size via macro
Summary: unable to change the picklist (AKA MRU) size via macro
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: PC All
: P4 Trivial with 5 votes (vote)
Target Milestone: OOo 3.1
Assignee: lars.langhans
QA Contact: issues@framework
URL:
Keywords:
: 14594 (view as issue list)
Depends on:
Blocks:
 
Reported: 2002-05-21 17:17 UTC by Frank Schönheit
Modified: 2010-02-22 14:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
sample macro for setting the pick list size (859 bytes, text/plain)
2002-05-21 17:18 UTC, Frank Schönheit
no flags Details
Zipped working pick list changer in a file (7.70 KB, application/x-compressed)
2004-01-07 01:35 UTC, rblackeagle
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Frank Schönheit 2002-05-21 17:17:57 UTC
A frequently asked question is how to change to pick list size in the file menu.
The usual answer is to manually modify the underlying XML files. As this is
heavily dependent on the configuration implementation (and in no way portable
nor future proof), a (theoretical) better way would be to change the respective
configuration item using a macro.

Unfortunately, the SvtHistoryOptions do not respect changes done by other
instances (means by other means than using the options class itself). Instead it
overwrites all settings on terminating the apllication with the own ones.

This means that effectively, changes on the settings guarded by the
SvtHistoryOptions are impossible, except "from inside", means using the class
directly. This surely is not the way the configuration is intended to work :).
Comment 1 Frank Schönheit 2002-05-21 17:18:47 UTC
Created attachment 1718 [details]
sample macro for setting the pick list size
Comment 2 andreas.schluens 2002-05-22 06:20:50 UTC
Sorry - but no svtools config item recognize changes of the underlining xml files! They 
all was designed as the only way for the office application code to have access on the 
configuration data. Nobody inside the office should use the configuration api 
directly. Ok some designs are not future proof too .... I will use this bug to force 
changes on that. But I think to use a macro for changing the picklist size seams 
exeggerated. From my point of view a new entry in our "tools->options" dialog should 
regulate that. On the other side - before we can reach all our functionality by using 
macros we have to migrate to UNO completly. Means: no native c++ frameworks any longer - 
pure using of UNO components instead of that.
Comment 3 Oliver Specht 2003-05-19 13:33:14 UTC
*** Issue 14594 has been marked as a duplicate of this issue. ***
Comment 4 floeff+ooo 2003-05-19 14:18:06 UTC
How about an option in the preferences?
Comment 5 lduperval 2003-07-16 15:34:44 UTC
Why is Issue 14594 a dupplicate? Here the OP wanted it for macros, I
would like it as a preference in the General preferences. Should I
open a new issue or will this one take care of it?
Comment 6 Mathias_Bauer 2003-09-15 17:17:18 UTC
And *please* make "0" a valid pickentry size!
Comment 7 alex.thurgood 2004-01-06 16:44:40 UTC
Where has development got to on this issue ? I see a request for modifying the
picklist size at least once a week on the French list, so it is obviously
important for many users. Would it be possible to have an update on the issue ?
Will it be fixed for version 2 ?
Comment 8 rblackeagle 2004-01-07 01:33:37 UTC
There is a macro (in a file) that accomplishes this.  I will attach it.
Comment 9 rblackeagle 2004-01-07 01:35:04 UTC
Created attachment 12303 [details]
Zipped working pick list changer in a file
Comment 10 floeff+ooo 2004-01-07 15:35:12 UTC
Thanks, will try it out. But please include it in OOo itself as well :)
Comment 11 andreas.schluens 2004-04-22 08:46:30 UTC
.
Comment 12 Mathias_Bauer 2004-12-02 11:57:09 UTC
.
Comment 13 andreas.schluens 2005-03-17 08:23:50 UTC
.
Comment 14 andreas.schluens 2005-05-24 09:13:06 UTC
AS: new target OOLater
Comment 15 mbayer 2006-06-08 13:42:21 UTC
The attached macro (also available via
http://sourceforge.net/project/showfiles.php?group_id=87718&package_id=100070 )
does not work with OOo 2.0.2 Linux i86 (680m5 Build 9011) for changing the
number of entries in the pick list. It still allows you to clear the pick list,
though.
My vote for finally having an option in the config menu for setting the number
of entries in the pick list to a value from 0 (= disabled) to whatever.
Note that in MSO it is possible to set the corresponding value to 1 ~ 10 via the UI.
Comment 16 andreas.schluens 2007-01-23 10:31:34 UTC
.
Comment 17 mbayer 2007-11-07 12:04:39 UTC
In issue 50722, cd mentions an extension to configure/clear the MRU list.
I guess we can close this issue as soon as that extension works...
Comment 18 andreas.schluens 2008-01-07 12:58:38 UTC
.
Comment 19 andreas.schluens 2008-06-18 10:11:21 UTC
.
Comment 20 andreas.schluens 2008-08-14 12:47:27 UTC
.
Comment 21 Mechtilde 2008-11-07 20:59:45 UTC
is this issue fixed -> please verify -> close
Comment 22 floeff+ooo 2008-11-08 00:13:41 UTC
Seems to work with the History Manager extension now
Comment 23 bmarcelly 2008-11-08 14:00:21 UTC
No, the problem is not entirely solved by extension HistManager2.1.oxt.
It changes the picklist, but not the history list, on the false assumption that the 
history list does not exist any more.
The history list is visible in the "Load URL" drop-down list. Even if you don't use 
it, it remembers up to 100 accessed file names, which may be a confidentiality 
problem.

And even if it is possible to make a macro to change the size of these lists, the 
facility should be integrated in OOo, like numerous other applications in various 
fields (not only MS-Office).
Comment 24 andreas.schluens 2008-11-10 08:19:37 UTC
as->mechtilde:

The bug itself is fixed. History options was completely redesigned (new
configuration, new code) so they are extensible by extensions. BUT ... these
issue is part of a CWS named configitems02_svn ... and those was not approved by
our QA already. So phase of verify, approve and close is still in progress.

BTW: These fix isnt related to any currently existing extension. Furthermore the
old configuration structures (XCS/XCU) will be deprecated from now and replaced
with something completely new.
Comment 25 andreas.schluens 2008-11-25 08:48:39 UTC
as->cn: Please verify that task on cws configitems02_svn. You can use the
complex test in svtools/qa/complex/configitems ... or you can use basic to test
if the special use case "resizing picklist" works now as expected. Ask for
further details :-)
Comment 26 chne 2008-12-02 14:30:44 UTC
verified in cws
Comment 27 Mechtilde 2009-09-25 18:05:05 UTC
is it fixed now -< so the issue can be closed?
Comment 28 chne 2009-09-28 11:39:09 UTC
lla: please take over
Comment 29 thorsten.ziehm 2010-02-22 14:59:26 UTC
This issue is closed automatically. It should be fixed in a version with is
available for longer than half a year (OOo 3.1). If you think this issue isn't
fixed in the current version (OOo 3.2) please reopen it. But then please pay
attention about the field 'target milestone'.
The closure was approved by the Release Status Meeting at 22nd of February 2010
and it is based on the issue handling guideline for fixed/verified issues  :
http://wiki.services.openoffice.org/wiki/Handle_fixed_verified_issues