To close down KDE I normally right click on a blank area of the desktop and select 'Leave' but as from this morning KDE does not respond to right clicks on the desktop. The problem only affects the desktop, all windows and taskbar icons still respond normally to right clicks.
One thing which may, or may not, be relevant is that I ran
When I started KDE after the upgrade it displayed the splash screen for a while but in its final stage instead of displaying the desktop it faded out to a black screen with just a mouse pointer. I could move the cursor but it would not respond to any mouse clicks.
Fortunately I'd done the upgrade in a new boot environment so I was able to switch back to the old version and was then able to start KDE which seems to be running OK except for the new problem of right clicks on the deesktop not working.
By reverting to the previous boot environment I'm confident that all software is now in the same state as it was before the upgrade but my home directory is stored outside of the boot environments so it's possible that attempting to start the new version of KDE might have corrupted some configuration settings but I've gone through all the KDE system setting options without seeing anything which could cause the problem and I've grepped all recently changed files in ~/.kde, ~/.config and ~/.local but didn't spot anything which might be relevant. But it certainly looks like something wrong somewhere in my config because right clicks on the desktop still work as expected for other users.
One thing which may, or may not, be relevant is that I ran
pkg upgrade
first thing this morning with over 400 packages upgraded, many of which were related to KDE. This upgraded KDE from kde5-5.16.5.19.08.1 to kde5-5.17.0.19.08.2.When I started KDE after the upgrade it displayed the splash screen for a while but in its final stage instead of displaying the desktop it faded out to a black screen with just a mouse pointer. I could move the cursor but it would not respond to any mouse clicks.
Fortunately I'd done the upgrade in a new boot environment so I was able to switch back to the old version and was then able to start KDE which seems to be running OK except for the new problem of right clicks on the deesktop not working.
By reverting to the previous boot environment I'm confident that all software is now in the same state as it was before the upgrade but my home directory is stored outside of the boot environments so it's possible that attempting to start the new version of KDE might have corrupted some configuration settings but I've gone through all the KDE system setting options without seeing anything which could cause the problem and I've grepped all recently changed files in ~/.kde, ~/.config and ~/.local but didn't spot anything which might be relevant. But it certainly looks like something wrong somewhere in my config because right clicks on the desktop still work as expected for other users.