SUMMARY *** Some applications have sub menus that are missing items the first time they are opened. *** STEPS TO REPRODUCE In Kdenlive, Open Recent. 1. Open Kdenlive. 2. Click on File, then on Open Recent. Only the most recent item is displayed. Now click away, then click on "File" and "Open Recent" again. Now all the previous projects are there. ------ In Kdenlive, Load View. Firstly, define and save a custom layout, then save it. Re-open Kdenlive. 1. Click on "View" 2. Click on "Load Layout" Notice that your custom layout is not on the menu. Click away, then click on "View" and "Load Layout" again. Now the custom layout is visible. ----------- On Tuxedo Control panel. Define a custom profile. On first run, click on the taskbar icon, then on "Load Profile" None of the profiles show up. Click away, then click on the taskbar icon again, and "Load Profile" again. Now all the profiles are visible. There are other applications that also show this bug, where a sub menu of a menu is not properly populated with all of its items until the second time that it is opened. OBSERVED RESULT Some sub menus in applications are not properly populated with items until the second time that they are opened up. EXPECTED RESULT All items in the sub menu to be present on the first time the menu is opened up. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.0.1 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.6.21-1-lts (64-bit) Graphics Platform: Wayland Processors: 32 × 13th Gen Intel® Core™ i9-13900HX Memory: 62.5 GiB of RAM Graphics Processor: Mesa Intel® Graphics Manufacturer: TUXEDO Product Name: PD5x_7xSNC_SND_SNE ADDITIONAL INFORMATION The system that I am seeing this on is a laptop, with an external monitor connected to a USB laptop hub. The laptop screen is a QHD screen, scaled to 150% in Wayland. The external screen is 4K, scaled to 120% in Wayland.
Can you make a screenshot that shows the issue?
Created attachment 167084 [details] Quick screen recording... This is a quick screen recording showing how the sub-menu only has one item in it the first time it is shown, and then the next time it is shown it is properly populated.
I can duplicate this on kdenlive 24.02.0 .deb on Neon. I am running on a low-res Thinkpad so had to use a 75% dusplay scale in Plasma display settings to get the whole kdenlive window to be visible in case this is relevent. I saved did View -> Save Layout 3 times (to create views called test1, test2, test3). Then when I accessed View -> Load Layout these were not visible in the menu. This happened twice, and so I then opened View -> Manage Layouts to check they had saved (which they had). Then when I went to View -> Load Layout again they were now visible as per the bug report. I did also try to duplicate this using the File -> Load Recent but this seemed to work consistently for me. Anyhow, I'm confirming this as a potential bug for further review by a dev if possible. Thanks Nick
Created attachment 167455 [details] Screen recording showing the bug in other applications This bug is present in quite a few applications, which leads me to think that it is not the applications, but rather something in QT. This screen recording shows the bug present in Tuxedo Control Center, as well as Libreoffice Writer. I did briefly think that it is in the way that the global menu is handled, but the Tuxedo Control Center is not utilizing the Global menu as far as I can tell.
I also tried with screen scaling off, and the bug is still present. It is also not related to Wayland / X11, as this bug is present in both.
OK, I managed to resolve it on my system, but the fix is not pleasant. I wiped my whole home directory and started with a fresh profile. It took a day or two to get most configurations back to the way I like them, but at least this menu issue is now resolved. I suspect that this issue came about from an imperfect conversion of my profile from QT5 to QT6. There is undoubtedly a more elegant way to get rid of this issue, but the profile needed a clean in any case as I am a serial tinkerer.