Bug 62242 - Better handle custom menu and toolbar after LO update
Summary: Better handle custom menu and toolbar after LO update
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Libreoffice (show other bugs)
Version: 4.1.0.0.alpha0+ Master
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-12 16:00 UTC by Petr Mladek
Modified: 2013-04-26 17:46 UTC (History)
6 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Petr Mladek 2013-03-12 16:00:03 UTC
The current configuration migration code lose some custom changes in the menu and tollbar entries.

It seems that the menu entries are filtered by a pretty old code added by
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=97e96b230c86d10cb31793d3737c7d1d97041dfb

IMHO, the problem is that the code does not know if the menu entries were added/removed/renamed by the user or by the new version. It has to guess and it seems to be using the following approach:

           a) it ignores renamed entries because they might be renamed by the new version;
               It helps to be compatible with help and tutorials; By other words, it
                always enforces the name from the new version;

            d) It ignore moved entries because the move could be caused by new version.
                It again helps to be compatible with help and tutorials. The only exception are
                menu entries added by the user, see below. By other words, it resets
                the order according to the new menu. It keeps the entries that are not longer
                in the new menu on the location where they were before.

           b) It tries to do not lose any user added entry. It keep all entries from the old user
               menu that are not in the new menu.
     
           c) It tries to do not loose any new menu entry from the new application. It keep all entries from 
               the new menu that are not in the old user menu.

See https://bugs.freedesktop.org/show_bug.cgi?id=57061#c79 for more details.
Comment 1 Joel Madero 2013-03-18 16:13:28 UTC
@Petr- just marking this as NEW as it's you reporting :-D If you want independent confirmation or input let us know


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.