Windows 7 task bar stuck in hiding, how to fix?

27,041

Solution 1

This drove me crazy, so I decided to dig really deep to the bottom of this problem and swore to get to the root cause no matter what. I went as far as reverse engineering Windows binaries.

What I found was a particularly subtle Windows bug where, under very specific conditions, Windows mistakenly thinks you are using a full screen application (even though you're not) and hides the taskbar as a result. The bug involves a race condition which is non-deterministic in nature, which is why it can be quite difficult to reproduce.

I was able to reproduce, characterize, and root cause the problem, and I also came up with a workaround: RudeWindowFixer. You will find all the gory technical details there.

In particular, if you were disabling the GeForce Experience overlay, then I'm pleased to inform you that with RudeWindowFixer you can keep it enabled and still get rid of the issue.

While the workaround reliably gets rid of this particular bug, I would not be surprised if there were similar Windows bugs in related code paths that require separate fixes, so I wouldn't necessarily claim it will 100% get rid of the problem. If you experience this issue even with RudeWindowFixer in place, do let me know and we can try figuring it out together. For better or for worse I have become exceedingly efficient at investigating these code paths…

I also filed a Windows feedback report about this, which I would encourage you to upvote to get Microsoft's attention!

Solution 2

Using the WindowsT key combination, you can bring up the taskbar even if it's stuck hidden. Not the most-ideal solution, but one that consistently works.

Solution 3

it looks like this is already a reported bug, I only post this for you because it looks similar to the issue you are having.

this is from the Eclipse bug site Bug 24052

looks like there is a post on a windows 7 forum as well

Taskbar auto-hide

Solution 4

I've been experiencing the exact same issue for years. Haven't found the reason or how to fix it, but you might want to try out the following workaround:

AutoHotkey script

~LButton::
coordmode, mouse, screen
mousegetpos, mX, mY
if mY = 767 ; THIS HAS TO BE YOUR CURRENT SCREEN HEIGHT RESOLUTION. can also be " > 750 " or sth. like that
{
    send #t
    send {Lbutton up}
}
return

best would be to put this in your autostart. This helps you in the following way: If your mouse is at the very bottom of your screen and the task bar does not come up: Simply click once and it will appear (win+t is being pressed by ahk)

PS. I would have loved to upvote the starter's post, but I cannot because of missing reputation.

Solution 5

I have the same issue, and 1 manage to find that with firefox regular version (i got the developers) the layer in which appears is in front of the one of the task bar thus making it impossible to appear... the solution is obvious dont maximize to the fullest.

Share:
27,041

Related videos on Youtube

Rainer Blome
Author by

Rainer Blome

A software developer. Often system administrator. Sometimes a physicist. Always human.

Updated on September 18, 2022

Comments

  • Rainer Blome
    Rainer Blome over 1 year

    In Windows 7, I use the "Auto-hide the task bar" feature. Usually, it works fine: As soon as the pointer touches the screen bottom, the task bar pops up.

    However sometimes, it refuses to rise. Pressing the "Windows" key (or Ctrl-ESC) makes the start menu appear, forcing the task bar from hinding as well. Once I've done this, the task-bar auto-rises again. This is annoying, it interrupts flow. Has anyone else noticed this? How do I avoid this?

    Searching for "Windows 7 task bar auto-raise" shows that at least one other person experienced this problem: How can I fix the taskbar's auto-hide?(Microsoft Community Post)

    To answer the question posed by the "helpful" support engineer on the above page, of course I am running some apps when this happens, usually Windows Task Manager (minimized to notification area), Windows Explorer, Firefox, Eclipse, Cygwin/X, Xterm, Cygwin Emacs, gitk, git gui, Notes, a chat client, a VPN client, a Firewall.

    If my memory serves correctly, I have seen this behavior on earlier versions of Windows as well, XP at least, but not nearly as often as currently on Windows 7.

    So far, it appears to happen out of the blue, sometimes multiple times a day.

    I am unable to directly reproduce this behavior so far. To reproduce this behavior, I tried switching between apps, and bringing apps to open other windows.

    See my comments below for some more info.

    Looks like a bug to me. The task bar should raise no matter what.

    Edit:

    I normally use the "Classic" Windows style, with all animations disabled. I switched to "candy" (Aero) style to see if that helps, but the issue still occurred.

    I'm pretty sure I've seen this behavior when I was not using Eclipse, but Eclipse is definitely the program that most often triggers this behavior.

    As reported by Malachi, there is a record on Eclipse Bugs that also tracks this issue. It has been opened in 2002-09. Wow, more than ten years ago. However, users on another page found by Malachi have reported that other programs, for example Firefox can cause this behavior, too, so this is not an issue exclusively caused by Eclipse.

    The issue could be caused by Eclipse, or Windows, or the JRE. If the issue is a Windows or JRE limitation, I still say Eclipse should stay clear of it. Other programs manage to do that as well.

    My current theory is this: Normally, there is exactly one row of pixels of the task bar visible, and in front of all other apps, even when an app is maximized. Since the task bar is in front (at the top of the Z order), it "sees" the pointer when the pointer hovers over it. When the issue occurs, the task bar is no longer in front of every other app, so it does not receive "hover" events. Only where no other window occludes it does it still receive hover events.

    If the task bar needs to be on top with at least one row of pixels visible, it is Windows' responsibility to ensure that this is the case. The OS is the master and must not let applications dominate the GUI interaction. There are exceptions, such as movie players, where you do not want a light line of pixels being visible (just color it black!), or where the task bar should not rise at all, such as in full-screen games. In my view, Eclipse or a browser do not require an exception.

    Here's a description of a typical incident:

    Eclipse was in front. I moved the pointer to screen bottom, the task bar would not rise. When Eclipse was not maximized, leaving a little space on the right, I was able to make the task bar rise behind the eclipse window, by "touching" the bottom right corner. Moving away, the task bar hid again. This worked repeatedly. When I touched the center bottom, the task bar did not rise, not even behind Eclipse. Next I maximized the Eclipse window. The task bar could not be raised. Restored the Eclipse window -> Same as before the maximize-restore cycle (rose only when bottom right was touched). Then I alt-tabbed to Firefox, which was maximized at the time. Still no task bar. In the non-maximized state with Firefox it was as with Eclipse. Same for other apps, for example Notes. Next I alt-tabbed to Emacs, its Ediff control window, to be precise. And suddenly the task bar worked again. The Ediff control window was not maximized, and did not touch screen bottom (it is usually never maximized). The Ediff window can not be the culprit, as the issue mostly occurs when I have no Ediff window open, and it was sitting there all day and the task bar was working.

    So when this happens, it "applies" to more than one app. At least Eclipse and Firefox are "stronger" than the task bar. In one instance, Eclipse was on top, gitk at the bottom, and the task bar in between.

    Maybe there is a program that allows inspection of the Z order, or logs changes in the Z order?

    • kmote
      kmote over 11 years
      Do any of your apps have an option to set "Always on Top"?
    • Rainer Blome
      Rainer Blome over 11 years
      The only app that has this set is Windows Task Manager ("WTM"), but that is usually minimized to the notification area. Even when WTM is visible (and forcedly on top of any other windows), the task bar normally rises properly. I experimented briefly: When WTM is maximized, it appears as if the task bar fails to rise. However, when I resize WTM so that it stretches to the bottom, but not to the sides, I see that the task bar does indeed rise, but behind WTM. So... maybe some app temporarily sets itself to "Always on top", like a modal dialog, maybe because it wants to notify me of something.
    • kmote
      kmote over 11 years
      Since it's not repeatable it may be tough to find it, but I would advise that the next time it happens you systematically shut down applications to see if you can detect a culprit. You might also consider stretching your taskbar across both screens for a while, to see if it appears on the 2nd while being blocked on the first
    • Rainer Blome
      Rainer Blome over 11 years
      Yeah, I need to try to narrow it down, see above. Stretching the task bar - How? My impression is that this is not supported with vanilla Windows 7.
    • kmote
      kmote over 11 years
      Ahh, you're right -- my mistake. I slipped into the old WinXP mindset there for a minute. Sorry.
    • Malachi
      Malachi over 11 years
      if you have found a fix please post it and mark it as the answer, or accept the answer with the links to the bugs so that people know that it is a bug that is being looked at.
    • Rainer Blome
      Rainer Blome over 11 years
      No solution yet. People who can read already know it's that bug. Btw., I can't see any evidence of it "being looked at". Your reply is the best so far, so I upvoted it. Since it does not answer "how to fix" I'll leave accepting for a true fix or workaround.
    • mHurley
      mHurley almost 8 years
      I found this question searching for the same problem. Differences: I don't use Eclipse, and it happens on both Win7 (at work) and Win10 (at home). I've noticed that if I encounter this problem, task switching (alt-tab) sometimes puts the offending app back behind the taskbar, but not always. I hope someone finds a solution... some day...
    • Don King
      Don King about 7 years
      I have the same or similar problem on my laptop with Windows 10, and always on my second monitor. I have taskbar set to auto hide and sometimes it doesnt pop up again. It happens when I have Firefox in fullscreen mode (not F11, normal full screen). When that is the case and I hover the mouse by the bottom of the screen the taskbar doesnt appear. I have tried different solutions around the web. Turn auto hide on/off, turn windows magnifier on/off, delete a file in Firefox profile folder and restart Firefox, changing resolution... but nothing solves it.
    • Etienne Dechamps
      Etienne Dechamps over 2 years
      I can reproduce this on Windows 11. By the way this question seems related: superuser.com/questions/483453/…
    • Rainer Blome
      Rainer Blome over 2 years
      @EtienneDechamps Can you deterministically reproduce it? BTW, for me, your link leads to this page itself, so yeah, it's related. :-).
    • Etienne Dechamps
      Etienne Dechamps over 2 years
      @RainerBlome Sorry, bad copy-paste… I meant this question: superuser.com/questions/1163969/… And what I meant was I regularly experience this issue - I am not able to deterministically reproduce it. (Well okay I did find one way: the combination of GeForce Experience overlay, maximized Firefox, and unplugging/replugging the monitor. But I'm really not sure that helps much. Disabling the overlay only seems to make the issue less likely, it doesn't get rid of it entirely.)
  • Malachi
    Malachi over 11 years
    Note FireFox is one of the Heavier Browsers. everytime I use it on Linux or Windows it takes longer to load than Chrome and Even IE, I believe it hogs Processing also, a lot more than Chrome or IE
  • Malachi
    Malachi over 11 years
    @kmote if there was something that was set to Always on Top it would always be on top and OP would not be able to see anyother windows either, OP would notice what program was causing the issue.
  • Malachi
    Malachi over 11 years
    are you using Dual Screens? where is the Task Bar Anchored?
  • Rainer Blome
    Rainer Blome over 11 years
    When the problem hits, the task bar appears to not raise at all, no matter how long I wait. Yes, some of the apps can hog resources, but my system is otherwise responsive enough (sub-second).
  • Rainer Blome
    Rainer Blome over 11 years
    I do sometimes use dual screen, but the issue also occurs when I have only one connected. Regarding "@kmote", when the program that is already on top (especially maximized), I might not notice if it is temporarily set to "on top".
  • Rainer Blome
    Rainer Blome over 11 years
    Most often, Eclipse is maximized. I'll try leaving it unmaximized but almost stretching to the bottom, and see if the issue still occurs.
  • Malachi
    Malachi over 11 years
    the rest of the applications will be responsive because they are the applications that are using the CPU, when the processor has to switch gears from, say Eclipse, it could take a while, Eclipse uses a lot of CPU Resources (on Windows) Eclipse is faster on Ubuntu but it still hogs CPU, it has to set up all sorts of things i.e. Compilers. FireFox isn't near as bad as Eclipse but it still uses more resources and is much slower than Chrome, IE, Opera(haven't used in a while i could be wrong).
  • Rainer Blome
    Rainer Blome over 11 years
    Please read my original question, especially the edits and my comment from 2012-10-05-8:08 above. CPU or lag is not the issue here.
  • Rainer Blome
    Rainer Blome over 11 years
    "Similar" is an understatement, the reports in that Eclipse Bug record sound exactly like the issue I'm having. Thanks for reporting this!
  • Malachi
    Malachi over 11 years
    this was already reported. I didn't report it. but you are welcome.
  • Rainer Blome
    Rainer Blome over 11 years
    Well, I meant "thanks for reporting the existence of the Eclipse Bug record". :-)
  • Malachi
    Malachi over 11 years
    I am trying to find a more recent bug report. that forum entry just sounds like a bunch of people complaining and not really any solutions, or bug report status updates.
  • Malachi
    Malachi over 10 years
    I wonder if this works in this situation?
  • Rainer Blome
    Rainer Blome about 10 years
    Like the Windows key on its own, or Ctrl-ESC, which I both mentioned in the question, Windows-T is a workaround. The difference is that Windows-T shows just the task bar, while the Windows key on its own shows the start menu in addition to the task bar.
  • Sawtaytoes
    Sawtaytoes about 10 years
    I see what you're saying. That works really well in Windows 7. In Windows 8 and 8.1, it will bring up the start screen so you got nothin' in terms of a taskbar. I agree these are all workarounds to a larger bug that is z-indexing the taskbar and would love to see a native solution :).
  • Metafaniel
    Metafaniel almost 9 years
    In Windows 8 and 8.1 the taskbar is being shown with Windows-T, thanks
  • DavidPostill
    DavidPostill about 8 years
    Welcome to Super User! This is really a comment and not an answer to the original question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. Please read Why do I need 50 reputation to comment? What can I do instead?
  • Don King
    Don King about 7 years
    Pressing the Windows button also makes the taskbar pop up so its not really a solution, just a variation of something already known.
  • Sawtaytoes
    Sawtaytoes about 7 years
    Not true. [Win][T] just shows the taskbar. It's like hitting [CTRL][C]; copies, but doesn't type C.
  • Scott - Слава Україні
    Scott - Слава Україні almost 7 years
    But if this were the OP’s issue,  wouldn’t the problem be easily reproducible?
  • TeMpTeK
    TeMpTeK almost 7 years
    it should be...try changing your display setting to 125% (may require restart) ..set the taskbar to autohide..then open up any browser or pdf in full screen..the tasbar wont show unless u minimize.. wont work while in fullscreen..everything goes back to normal when u change your display scaling back to 100% or less
  • Scott - Слава Україні
    Scott - Слава Україні almost 7 years
    Thanks for responding. FYI, I wasn't interested in reproducing it myself; I was looking back at the OP's statement, “I am unable to directly reproduce this behavior.” Maybe I just don't understand your answer, but, to the best of my understanding, if the user has customized their display settings to magnify windows for easier viewing above 100%, then the taskbar would never reappear (until they changed the display setting back to 100%). So, if somebody had this problem, they wouldn't say “it appears to happen out of the blue.”
  • TeMpTeK
    TeMpTeK almost 7 years
    I think most ppl who have this problem do not realize that its because they have changed their display setting.. I was one of them..
  • Rainer Blome
    Rainer Blome almost 7 years
    +1 for helping to narrow this down. On the Windows 7 and XP systems that I had used when I asked the question, I had manually set the scaling to around 125%, so that at "zoom 100%", screen size matched print size (physical screen resolution was higher, a laptop). So it is possible that this setting has played a role. On Win8.1 (don't have Win7 any more), when I F11 to full-screen in Firefox, if task bar is not auto-hidden, there is no task bar, period. Thus I do not expect it to pop up when auto-hidden. On Win8.1, setting scaling to "recommended" (which is huge) did not change the behavior.
  • Rainer Blome
    Rainer Blome almost 7 years
    There are two separate goals: Goal 1: Task bar set to auto-hide, App not in full-screen mode (but may be maximized!), mouse to bottom makes task bar rise. This is what the original question is about. Goal 2: App in full-screen, mouse to bottom makes task-bar rise. This answer is the first one to talk about this. TeMpTeK, did you actually achieve this? Can you give more details than "everything goes back to normal"? Ideally, OS version, scalling setting, App version and steps to reproduce?
  • Etienne Dechamps
    Etienne Dechamps over 2 years
    To me, the main downside of this solution (besides the inefficient polling) is that it will not just show the taskbar, it will also activate it, which will steal focus away from the application the user is currently working on.
  • Rainer Blome
    Rainer Blome over 2 years
    Cloned that repo immediately. :-D Thank you for this analysis. I hope it has been fun for you to track this down. Not a Windows user atm, so can't try this out (or even just use the Windows feedback channel you mentioned) in short term. Excellent write-up in the repo README. As far as I can see, this could explain the typical incident I described. Invisible fullscreen windows, the security implications give me goosebumps. Just say no! I bow to thee, deeply!