Firefox window shown incorrectly on restarting Ubuntu 18.04
Yesterday I shutdown my PC running Ubuntu 18.04 while Firefox had a full screen window on each of my two monitors. When i turned it on today the window on my right hand monitor opened correctly. However, the window on my left hand monitor had these problems (see the uploaded image) it was not full screen. It was split into a window at the bottom of the screen that showed the expected contents and a black window at the top of the screen that took mouse input. Note the 'KCOM webmail...' popup by the mouse cursor over the upper window. A right click on the desktop had no effect on the left hand monitor, as if something considered the window full screen. After restoring down the window on the right hand monitor a right click on that desktop showed the expected menu. I recovered from the problem by moving the mouse cursor over the black window until the 'Maximise' popup appeared and clicking. The window then became full screen and has behaved correctly since. I have xpdyinfo and xwininfo outputs in case they are useful. I upgraded from Ubuntu 16.04 to 18.04 about 2 weeks ago and have been using Firefox almost daily since then. I have often seen it restart correctly when I restart my PC, although perhaps not with two full screen windows. I don't know if this is a known bug. I hope this information is useful.
IMHO I don't think this is browser issue, but more of a windows manager issue. For KDE KWin is the windows manager and as you can see from the screenshot, I have my browser set to remember the size and location of the window and it works after a reboot and login, but when coming out of sleep or hibernation the browser is always on the far right side of my external monitor and I have to move it to the left side every time. see screenshots
Operating System: openSUSE Tumbleweed 20210114 KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 Kernel Version: 5.10.7-1-default OS Type: 64-bit Processors: 8 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz Memory: 31.0 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 4600