Plugin Open Event Possible "Bug"

This may be as intended but I also feel it’s a bug.
This event is firing when you go to full screen in Photoshop (Pressing the F) key.

Is this normal behaviour ?

addEventListener('uxpcommand', (event) => {
    const {
        commandId
    } = event
    if (commandId === 'uxpshowpanel') {

       //Code goes here
    }
})