What is the proper way to us the "alwaysOnTop" property for components or windows?
If I define a window - say a toolbar - and set alwaysOnTop: true
, shouldn't that keep other windows from obscuring it?
Do windows with this property need to be registered with Ext.WindowManager?
Long story, I'm using the Desktop code (see here: https://examples.sencha.com/extjs/6....top/index.html). You will notice that you can move the windows over the bottom toolbar - this should not really happen.
Adding alwaysOnTop: true
to that taskbar code alone has no effect but doing subsequently doing this does:
Ext.WindowManager.register(taskbar)
Problem is that win.toFront()
no longer seems to work for other windows on the desktop. Such that if window A overlaps window B, B.toFront()
will have no effect.
So, the question is, what is the proper way to use alwaysOnTop for specific items yet have other windows behave as expected?