How to show a window who has been minimized?
-
calling show() on it will pop it up on KDE, but doesn't work on other WMs, any suggestion?
-
show() itself should work. You can try combining it with raise():
@
show();
raise();
@ -
hi, sierdzio. I've tried that, didn't work.
-
Hm, then it begins to look like a bug. Are you using the newest Qt version (5.4)?
Another idea: please try with showNormal() "link":http://doc.qt.io/qt-5/qwidget.html#showNormal.
-
Just tried on ubuntu, using Qt 5.4, either showNormal() or raise() worked :(
-
Sorry, I am confused. You say it worked, but end your sentence with a sad emoticon. Is the problem solved now?
-
sierdzio, I'm very sorry, I mean both of them didn't work, I should use the phrase neither...nor... instead of either...or..., poor English...sorry.
-
No worries, I am not angry :-) I just did not understand what you've meant.
So I think it is becoming clear now, that this indeed is a Qt bug. Looks like it is a known issue, too: "link":https://bugreports.qt-project.org/browse/QTBUG-31117. The report claims that this problem is fixed in 5.4.0. I think your case proves that to be wrong. I'll add a comment there, but it would be best if you joined the discussion there and pasted exact steps to reproduce the issue and the exact configuration of your system (OS, Qt version, compiler, etc.).
-
hi, sierdzio, I've followed the link and posted a comment there :)