18

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?

11 Answers11

11

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.

6

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

Malachi
  • 1,063
4

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!

2

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.

phil294
  • 349
  • 4
  • 14
1

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.

Pancho
  • 11
  • 1
1

Based on phil294's answer, here is an AutoHotkey script that doesn't require you to click with your mouse, but just works by moving your mouse to the bottom of the screen (as usual).

Just after the top of this script, you can specify the group of applications, which block the taskbar un-hide. The script activates only for these applications, so it shouldn't cause any unwanted trouble.

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

; Group of applications that block unhiding the taskbar GroupAdd, groupBlocksHiddenTaskbar, ahk_exe editors.exe ; OnlyOffice GroupAdd, groupBlocksHiddenTaskbar, ahk_exe FL64.exe ; FL Studio GroupAdd, groupBlocksHiddenTaskbar, ahk_exe draw.io.exe ; Draw.io

; Show hidden taskbar SetTimer, checkMousePos, 50 Return checkMousePos: If Not WinActive("ahk_group groupBlocksHiddenTaskbar") Return Coordmode, mouse, screen MouseGetPos, x, y If y > 1078 ; Screen height (minus tolerance) { SendInput, #t SendInput, {Escape} Sleep, 50 } Return

Note: make sure that you run AutoHotkey as administrator, otherwise it won't work for some applications.


If you haven't used AutoHotkey before, here is a step-by-step guide of what you have to do:

  1. Download and install AutoHotkey (not v2).

  2. Anywhere on your Computer, create a new AutoHotkey script file (file extension .ahk), e.g. myscript.ahk.

  3. Open myscript.ahk in a text editor, copy the above code, paste it to the file and save it.

  4. Double-click myscript.ahk to run it.


  1. To run the script as administrator, you need to locate your AutoHotkey.exe (Usually in C:\Program Files\AutoHotkey) and check Run as administrator under its properties.

  2. To run the script as administrator automatically on startup, you need to create a scheduled task for your script file (see this answer).

scavi
  • 11
0

The problem is with windows scaling.. if you have customized your display settings to magnify windows for easier viewing above 100% Windows doesnt think your mouse is really at the bottom of the screen calling for the hidden taskbar even though it really is.(definitely a Bug). I was able to fix by changing windows scaling back down to 100%..This isnt really a fix for those who need to visually magnify windows to see better.. just my observation of why the hidden taskbar wont appear when any app is in full screen mode when u have custom display settings.

0

I just had this issue on a new laptop with Windows 11 with dual monitors.

I've always previously chosen to have the Taskbar on all screens but I decided to see what it was like with it just on one screen. I'm not sure if that was the trigger for the problem.

After my battery died and it woke back from hibernation, the Taskbar was hidden under the maximized windows on my second screen. At the time I didn't search for answers and just nudged the window layout slightly in the Display control panel. When it refreshed it came back in the right position.

enter image description here

Simon
  • 672
0

the Task Bar is an application with a process, when you are not using it (when it's hidden) windows marks it as inactive and allows the CPU to use that processing power for all the other applications you are using, so you might see a lag when you try to activate the Task Bar again because Windows needs to re-allocate processing power to the Task Bar, and depending on how many applications or Processes are running will figure into the Task Bar not responding and for how long.

Edit

I know that FireFox and Eclipse eat up a lot of CPU especially Eclipse (at least the last time that I used Eclipse it did)

Malachi
  • 1,063
-1

I know this is a pretty old question, but here's how I fixed my issue. Recently, my taskbar (set to auto hide) would no longer pop up when I dragged my mouse pointer to the bottom of the screen, as long as any app at all was in full screen mode. If I had apps minimized or in less than full screen, it would work fine.

To fix it, this is what I did.

1: Open and right click the taskbar, and make sure that "lock the taskbar" is not checked.

2: Open any app and make it full screen.

3: Use windows key to pop open the taskbar. Click on the taskbar and drag it to any other docking location (side or top) and release it. Then drag it back down to the bottom and dock it again. Make sure you are doing this while you have your app open full screen.

4: Taskbar should now pop open when you mouse down to bottom of screen, even if apps are open full screen. You can reset the property of taskbar to locked again, if that's the way you had it before.

Hope this helps someone.

-2

I have this issue. I found out when it's "stuck" hiding, it actually just ended up behind a window. If I change the window size then click the task bar it's fine again. Windows Key also works since it brings up the start menu and task bar. I think it's just a bug in windows. Annoying, but it doesn't stop functionality.