Bug 109273 - user\config\soffice.cfg\modules\swriter\popupmenu will be accessed every time when accessing the right click context menu
Summary: user\config\soffice.cfg\modules\swriter\popupmenu will be accessed every time...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.2.5.1 release
Hardware: All Windows (All)
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Too-Much-File-Access
  Show dependency treegraph
 
Reported: 2017-07-22 12:21 UTC by Telesto
Modified: 2017-09-08 07:32 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2017-07-22 12:21:17 UTC
Description:
user\config\soffice.cfg\modules\swriter\popupmenu will be accessed every time when accessing the right click context menu. I'm not quite sure if this should happen, it didn't happen the past.

Steps to Reproduce:
1. Open a writer document
2. Open the right click menu 1 or 2 times (to clear all sorts of normal file access)
3. Open Process Monitor with filter set to Process Name is soffice.bin
4. Open right click menu again and notice that user\config\soffice.cfg\modules\swriter\popupmenu will be access. 
5. Repeat step 4 a few time an notice it happens over and over

It can be 'fixed' temporally by renaming the Data\settings\user\config\soffice.cfg\ folder.


Actual Results:  
user\config\soffice.cfg\modules\swriter\popupmenu is always access. 

Expected Results:
It probably shouldn't happen (not 100% sure), but it didn't before. 


Reproducible: Always

User Profile Reset: No

Additional Info:
Found in
Version: 6.0.0.0.alpha0+
Build ID: a9588baca8137f51e2ca72e40b1f448b0e1885d1
CPU threads: 4; OS: Windows 6.19; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-07-21_02:58:26
Locale: nl-NL (nl_NL); Calc: CL

and in Version: 5.2.5.0

but not in:
Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: nl-NL (nl_NL)


User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Maxim Monastirsky 2017-08-13 21:38:14 UTC
Since 5.2 we allow customization of context menus (Bug 93837), so we need to access the user profile to check if there are customizations. Similarly there are access attempts of user\config\soffice.cfg\modules\swriter\toolbar each time you open a toolbar (or e.g. select a shape, which in turn opens its contextual toolbar). I also see this each time you just point the View > Toolbars menu. So what happened recently is just that context menus now use the same code path as toolbars were already using (and which is probably inherited from OOo).