A program won't come to the foreground (Windows 10)












1














I have a program (QGIS, which uses QT5) that will not come to the foreground. It starts maximized (that's fine) but it stays behind all my other programs. It can be focused, and I can work in QGIS, but any non-minimized programs stay in front of it.



I have tried the AutoHotKey script suggested in an answer in this post:
Program windows won't come to foreground when selected in Windows 8.1 but it didn't help.










share|improve this question






















  • You may during the window's creation add the Qt flag of WindowStaysOnTopHint.
    – harrymc
    Dec 11 at 14:17










  • Is that a command line flag? Also, this is new behavior, this program worked just fine up until a few weeks ago. Uninstalling / reinstalling has not helped.
    – HeyOverThere
    Dec 11 at 21:18












  • No, the program has to be modified to add the flag.
    – harrymc
    Dec 11 at 21:24










  • I'd rather not re-compile the program, and I don't think it a problem with the program itself, it works just fine on other machines. I think something has gone sideways with my Windows profile. I'm trying to find a solution that doesn't involve wiping and starting a new profile.
    – HeyOverThere
    Dec 11 at 21:27










  • You may try a new profile.
    – harrymc
    Dec 11 at 21:28
















1














I have a program (QGIS, which uses QT5) that will not come to the foreground. It starts maximized (that's fine) but it stays behind all my other programs. It can be focused, and I can work in QGIS, but any non-minimized programs stay in front of it.



I have tried the AutoHotKey script suggested in an answer in this post:
Program windows won't come to foreground when selected in Windows 8.1 but it didn't help.










share|improve this question






















  • You may during the window's creation add the Qt flag of WindowStaysOnTopHint.
    – harrymc
    Dec 11 at 14:17










  • Is that a command line flag? Also, this is new behavior, this program worked just fine up until a few weeks ago. Uninstalling / reinstalling has not helped.
    – HeyOverThere
    Dec 11 at 21:18












  • No, the program has to be modified to add the flag.
    – harrymc
    Dec 11 at 21:24










  • I'd rather not re-compile the program, and I don't think it a problem with the program itself, it works just fine on other machines. I think something has gone sideways with my Windows profile. I'm trying to find a solution that doesn't involve wiping and starting a new profile.
    – HeyOverThere
    Dec 11 at 21:27










  • You may try a new profile.
    – harrymc
    Dec 11 at 21:28














1












1








1







I have a program (QGIS, which uses QT5) that will not come to the foreground. It starts maximized (that's fine) but it stays behind all my other programs. It can be focused, and I can work in QGIS, but any non-minimized programs stay in front of it.



I have tried the AutoHotKey script suggested in an answer in this post:
Program windows won't come to foreground when selected in Windows 8.1 but it didn't help.










share|improve this question













I have a program (QGIS, which uses QT5) that will not come to the foreground. It starts maximized (that's fine) but it stays behind all my other programs. It can be focused, and I can work in QGIS, but any non-minimized programs stay in front of it.



I have tried the AutoHotKey script suggested in an answer in this post:
Program windows won't come to foreground when selected in Windows 8.1 but it didn't help.







windows windows-10 autohotkey






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 11 at 2:47









HeyOverThere

1061




1061












  • You may during the window's creation add the Qt flag of WindowStaysOnTopHint.
    – harrymc
    Dec 11 at 14:17










  • Is that a command line flag? Also, this is new behavior, this program worked just fine up until a few weeks ago. Uninstalling / reinstalling has not helped.
    – HeyOverThere
    Dec 11 at 21:18












  • No, the program has to be modified to add the flag.
    – harrymc
    Dec 11 at 21:24










  • I'd rather not re-compile the program, and I don't think it a problem with the program itself, it works just fine on other machines. I think something has gone sideways with my Windows profile. I'm trying to find a solution that doesn't involve wiping and starting a new profile.
    – HeyOverThere
    Dec 11 at 21:27










  • You may try a new profile.
    – harrymc
    Dec 11 at 21:28


















  • You may during the window's creation add the Qt flag of WindowStaysOnTopHint.
    – harrymc
    Dec 11 at 14:17










  • Is that a command line flag? Also, this is new behavior, this program worked just fine up until a few weeks ago. Uninstalling / reinstalling has not helped.
    – HeyOverThere
    Dec 11 at 21:18












  • No, the program has to be modified to add the flag.
    – harrymc
    Dec 11 at 21:24










  • I'd rather not re-compile the program, and I don't think it a problem with the program itself, it works just fine on other machines. I think something has gone sideways with my Windows profile. I'm trying to find a solution that doesn't involve wiping and starting a new profile.
    – HeyOverThere
    Dec 11 at 21:27










  • You may try a new profile.
    – harrymc
    Dec 11 at 21:28
















You may during the window's creation add the Qt flag of WindowStaysOnTopHint.
– harrymc
Dec 11 at 14:17




You may during the window's creation add the Qt flag of WindowStaysOnTopHint.
– harrymc
Dec 11 at 14:17












Is that a command line flag? Also, this is new behavior, this program worked just fine up until a few weeks ago. Uninstalling / reinstalling has not helped.
– HeyOverThere
Dec 11 at 21:18






Is that a command line flag? Also, this is new behavior, this program worked just fine up until a few weeks ago. Uninstalling / reinstalling has not helped.
– HeyOverThere
Dec 11 at 21:18














No, the program has to be modified to add the flag.
– harrymc
Dec 11 at 21:24




No, the program has to be modified to add the flag.
– harrymc
Dec 11 at 21:24












I'd rather not re-compile the program, and I don't think it a problem with the program itself, it works just fine on other machines. I think something has gone sideways with my Windows profile. I'm trying to find a solution that doesn't involve wiping and starting a new profile.
– HeyOverThere
Dec 11 at 21:27




I'd rather not re-compile the program, and I don't think it a problem with the program itself, it works just fine on other machines. I think something has gone sideways with my Windows profile. I'm trying to find a solution that doesn't involve wiping and starting a new profile.
– HeyOverThere
Dec 11 at 21:27












You may try a new profile.
– harrymc
Dec 11 at 21:28




You may try a new profile.
– harrymc
Dec 11 at 21:28















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382500%2fa-program-wont-come-to-the-foreground-windows-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382500%2fa-program-wont-come-to-the-foreground-windows-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

"Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

Alcedinidae

RAC Tourist Trophy