| Summary: | Can't disable Recent Documents mechanism | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Darrell <darrella> |
| Component: | tdelibs | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | bugwatch, darrella |
| Priority: | P5 | ||
| Version: | R14.0.x [Trinity] | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2968 | ||
| Attachments: | Patch to allow setting recent documents list size to zero | ||
Patch to allow setting list number to zero merged in GIT hash df5d0a61401e5a477660c2676f14a53a760510d9. This patch only partially resolves the bug report. Setting to confirmed as there is no unapplied patch available for this report. I have been tinkering with this hoping to find a patch. Not yet. :( I notice two anamolies: 1. Using the GUI, changing MaxEntries does not take effect until Trinity is restarted. The change does not occur in real-time. 2. When MaxEntries is configured to zero, Trinity nonetheless always maintains one file in $TDEHOME/share/apps/RecentDocuments. Just one, the most recent. In addition to fixing No. 1, seems to me when a user changes MaxEntries to a smaller number, Trinity should automatically delete the older excessive number of files in $TDEHOME/share/apps/RecentDocuments. Of course, when MaxEntries is configured to zero, Trinity should not be storing any data at all. |
Created attachment 487 [details] Patch to allow setting recent documents list size to zero Users are unable to directly disable the number of recent documents to maintain. The option is configurable in Panels/Menus. The list size number is retained in the user's kdeglobals: [RecentDocuments] MaxEntries= The spinner won't allow a user to set a list size to anything below 10. That can be fixed by patching tdebase/kcontrol/kicker/menutab.ui:537 from 10 to 0. Patch attached. After applying that patch, setting the list size to zero does not provide a way to disable the tracking process or prevent the list. TDE still keeps at least one document in $TDEHOME/apps/share/RecentDocuments. When set to zero: * TDE should not create the RecentDocuments directory. * TDE should not create any *.desktop applink files. * The Recent Documents menu option should be ghosted in the "Optional Menus" list.