Description: When clicking an item with right mouse click the context menu should appear instantaneously (or max. 0.1s delay) for good usability. Steps to Reproduce: 1. Open or create a complex file (docx or xlsx (tested in Win10 x64) 2. Right click on any element in document. 3. Actual Results: Context menu opens with a delay, which is typically about 500ms but sometimes up to 2000ms. Expected Results: Context menu should open instantaneously or max. 100ms delay. In MS Office it opens instantaneously. Reproducible: Always User Profile Reset: No Additional Info: Be faster.
*** Bug 146508 has been marked as a duplicate of this bug. ***
NOT reproducible REPRODUCIBLE with Installation of Version 7.2.4.1 (x64) / LibreOffice Build 27d75539669ac387bb498e35313b970b7fe9c4f9 CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win; Locale: de-DE (de_DE); UI: de-DE; Calc: threaded; Elementary Theme; My normal User Profile. Tested with 137 pages Writer document with lots of frills on AMD Ryzen 5 3600 6-Core Processor 3.60 GHz 16GB RAM, SSD
(In reply to Rainer Bielefeld Retired from comment #2) > NOT reproducible REPRODUCIBLE with Installation of Version 7.2.4.1 (x64) / > LibreOffice Build 27d75539669ac387bb498e35313b970b7fe9c4f9 > CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: > win; Locale: de-DE (de_DE); UI: de-DE; Calc: threaded; Elementary Theme; My > normal User Profile. > > Tested with 137 pages Writer document with lots of frills on AMD Ryzen 5 > 3600 6-Core Processor 3.60 GHz 16GB RAM, SSD You have much more powerful machine than mine. Here specs are: Lenovo Thinkpad Edge E530 (2012), i7-3632qm (4cores 8 threads), 16GB RAM, SSD1: 500GB, SSD2: 1000GB. Win10-64, version is abt. 10/2021 I think, 2 connected external displays, both in fullHD, internal display disabled. Video card: Intel HD 4000 CPU integrated (there is also NVIDIA Geforce GT635M, but it is disabled in device manager)
(In reply to Rainer Bielefeld Retired from comment #2) "NOT reproducible"!
(In reply to golemus from comment #3) So we will need more indication whether it's only something like general CPU overload or indeed something with context menus which needs improvement.
(In reply to Rainer Bielefeld Retired from comment #5) > (In reply to golemus from comment #3) > So we will need more indication whether it's only something like general CPU > overload or indeed something with context menus which needs improvement. On the same machine MS Office context menus appear instantaneously. Worth noting is that I have customized context menus in Tools -- Customize -- Context menus. I don't know if it could have an effect. I will test this with another machine as soon I find time.
I think I have identified cause of this bug. I have added the item "Font Size" to context menu of Writer and Calc. It seems to cause the delay. When I remove font size from there the delay disappears.
(In reply to Rainer Bielefeld Retired from comment #5) > (In reply to golemus from comment #3) > So we will need more indication whether it's only something like general CPU > overload or indeed something with context menus which needs improvement. Check out my latest update. "Font Size" in context menu (which I had added there) seems to be causing the delay/lag. I updated also title of this bug.
I reproduce on Windows. The delay is quite slight, so a slower machine is better for testing indeed. On Linux I don't see the delay, but it might be due to better performance. I tested with some older Windows versions, but it is difficult to say if there is a difference between the versions. The ability to customise context menus was added in version 5.2. The context menu target should be Text. In earlier versions without the search in customise dialog, you will find Font Size under Format category. Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 5b18eebc2c95321ce7e6edf10f4df81557382a48 CPU threads: 2; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: fi-FI (fi_FI); UI: en-US Calc: threaded Jumbo
Created attachment 183911 [details] Video showing the delay I can't see any delay with the default configuration. The delay is big when I add "Text size" to the context The delay is not appreciable when add other options, for instance "Bolds" In the video the cursor shadow gets green when click with secondary mouse button (red with main) Tested with an Intel(R) Core(TM) i5-3317U CPU 1.70 GHz, 8.00 GB, and a Writer document of 484 pages (one of our guides) Version: 7.4.2.3 (x64) / LibreOffice Community Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL