PDA

View Full Version : Statusbar contents disappear when mouse pointer enters top menu bar



ChrisOfBristol
24th March 2015, 00:30
I have a statusbar at the bottom of my application's main window, and a File etc menu bar at the top. When the mouse pointer enters the top menu bar, the contents of the statusbar disappear. There is no timeout on the statusbar's contents.

anda_skoa
24th March 2015, 04:57
Actions, such as those represented as menu or toolbar entries, can have a status text associated.
That text is displayed in the status bar's message are when the action is hovered on.

Your description sounds a lot like this happening or the application preparing for it to happen.

If you have something you want to display regardless of status messages, add a label to the statusbar using addPermanentWidget()

Cheers,
_

ChrisOfBristol
24th March 2015, 19:44
Thanks anda-skoa, I understand your post. I have looked for some examples of this, it all looks quite complicated and I couldn't get it to work. Rather than spend days learning it, I will just refresh the message.