I am affected by a regression going from plasma 5 to plasma 6.
the computer is a thinkpad laptop running up to date manjaro.
when connecting external monitors to get a multiple monitors setup, the laptop screen is set as primary and the application menu bar is displayed on the laptop screen as it should.
this issue started to happen after I connecting a single external monitor instead of the usual two.
when disconnecting the external monitor, the application menu disappears and stays off making it difficult to do anything and fix the issue.
plugging the external monitor back in, make the application menu bar appear again on the laptop screen.
after a solid 30 minutes of going through system settings looking for ways to fix this without rebooting as this would be quite inconvenient to reboot each time I disconnect the external monitor, I eventually found out that edit mode had a manage desktop and panels option where it shows the application menu on the correct screen at the correct position despite it not being displayed on screen.
the temporary workaround I found consist in moving the application menu bar to a disconnected screen, then back to the active laptop screen. and only then it would be displayed again.
What can I do to prevent this issue from happening again ? is there a way to manually set screen setup profiles instead of having is being automatically detected each time ?