ConEmu / old-issues

Old issues for ConEmu project (import is pending)
http://conemu.github.io/
0 stars 1 forks source link

Auto-hidden taskbar and maximized ConEmu without Caption #828

Closed ConEmu closed 9 years ago

ConEmu commented 9 years ago

From nanofo...@gmail.com on November 25, 2012 09:32:52

OS version: Win7 SP1 x86 ConEmu version: 121124

My son using FAR (like me) and of course we have ConEmu under FAR. But he having a small monitor and he using 'Hide taskbar' option. Problem is:

1) Set Windows taskbar auto-hide. Set 'Maximized window' in Conemu. Now You can bring up taskbar by hovering mouse at the right edge of monitor. But:

2.) Set 'Hide caption when maximized' in Conemu: now You can't reach taskbar by hovering on monitor edge because ConEmu will be so big, it lays over 'hidden' taskbar's 2 pixels tall (or wide) area at the edge. ConEmu without caption seems 'on top always' for me.

Original issue: http://code.google.com/p/conemu-maximus5/issues/detail?id=828

ConEmu commented 9 years ago

From nanofo...@gmail.com on November 28, 2012 07:15:03

Okay, the solution is the OPPOSITE of this: http://support.microsoft.com/kb/q179363 We don't want to cover taskbar because that is megastupid but we want to reach Taskbar by hovering mouse when it is Auto-hidden and ConEmu maximized and have not caption.

Insert this code into CConEmuMain::CalcRect where You calculate maximized window size ("case CER_MAXIMIZED" - after line #4124 in ConEmu .cpp) (code actually tested by me):

if (hide_caption_is_on /* insert the right thing here :) */) { APPBARDATA a;

a.cbSize = sizeof(a); a.hWnd = FindWindow(L"Shell_TrayWnd", NULL);

SHAppBarMessage(ABM_GETTASKBARPOS, &a);

switch (a.uEdge) { case ABE_LEFT: rc.left += 1; break; case ABE_RIGHT: rc.right -= 1; break; case ABE_TOP: rc.top += 1; break; case ABE_BOTTOM: rc.bottom-= 1; break; } }

Similar code would goes to fullscreen.


Renoise takes shit on this issue.

Opera leaves that 1 pixel line always at the bottom of the screen, so mouse can bring Taskbar to front. But snap Taskbar to left/right/top and You can see through it at the bottom - lamers :)

PhotoShop is more intelligent and takes Taskbar's side into account - nice.

ConEmu commented 9 years ago

From ConEmu.M...@gmail.com on November 28, 2012 07:44:41

Grrr, weird ;) Ok, patch accepted, thanks. But I think "FullScreen" must be really FULL screen. This means - no pixel will be left in that mode.

Status: Accepted

ConEmu commented 9 years ago

From nanofo...@gmail.com on November 28, 2012 08:13:04

Yes, You are right about FULL-screen...

ConEmu commented 9 years ago

From ConEmu.M...@gmail.com on November 28, 2012 15:31:33

build 121128

Status: Fixed