@pan64 thanks for remark but it's not it, if on N boot I had tabs is firefox session, on boot N+1 first instance goes daemon and second is "blank and fresh", and on N+2 boot first instance with saved session magically works correct (btw I am always closing same way)
thanks for answers in general I don't know if it's buggy KDE problem or firefox... since I have fresh install of system I expect that there is no script that could mess with system and I am hoping for ideas how to debug problem since it can be easily fixed (or I stumbled on a bug)
also small remark I use linux for 5 years (maybe even 7y) although I am programmer with maybe average linux knowledge and this is very strange behavior that shouldn't be present in any software and is really puzzling
maybe there is corrupted script somewhere and it has
this should cause mistakes, maybe even this script sets variable in place and at some point it should restore old value but since this script throws exception restoring command never executes...