Code Monkey home page Code Monkey logo

smarttaskbar's Introduction

SmartTaskbar

Version Latest Release All Releases License 996.icu LICENSE

  • SmartTaskbar is a lightweight utility which can automatically switch the display state of the Windows Taskbar.

Features

Auto Mode

  • In the Auto Mode, SmartTaskbar will set the Taskbar to hide when When the focused window and the taskbar intersect[1].

  • Double-click the tray icon to switch the display status of the taskbar between Show or Auto-Hide.

Known Issues

  • Some applications are not compatible with Auto-Hide mode (This problem has nothing to do with SmartTaskbar), for example:

    • Some applications use special maximization logic. When the mouse is moved to the taskbar position, the taskbar doesn't pop up. In this case, you can use the shortcut (WIN + T) to force the taskbar to pop up.
  • Starting from v1.4.3, the following behavior only occurs when the hook fails.

  • The Auto Mode is based on Auto-Hide mode, so it does not change the default behavior of window taskbar in Auto-Hide mode. Therefore, you will encounter the following "bugs", but they are not actually:

    • When you close the start menu or the search panel, the taskbar will be automatically hidden (this is the system's own behavior), and then may be displayed again immediately (this is the work of SmartTaskbar).

    • When there is already a full-screen application, open a window that does not intersect the taskbar, and the taskbar will be automatically hidden when the mouse is moved away (this is the system's own behavior), and then it may be displayed again immediately (this is SmartTaskbar working ), since the currently focused window does not intersect the taskbar.

Build

  • Visual Studio 2022.

Notice

smarttaskbar's People

Contributors

1njay avatar oliviaophia avatar potatoob avatar severecloud avatar udev2019 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smarttaskbar's Issues

关于分屏的建议

如果使用分屏的话,即使铺满了屏幕,任务栏也不会隐藏,这点可以改进一下吗?
image

奇怪的问题

在两台pc机上使用,其中一台过度很流畅,另一台有桌面切换为全屏模式后,任务栏还会闪烁一下。两台电脑的win10版本一样,希望作者解答下,谢谢!

自适应模式 、智能模式 问题请求解决

Win10最新版
1、 当我的任务栏使用 小任务栏 ,我用自适应模式,发现每次 任务栏无缘无故变为 大任务栏 ,希望能兼容下 默认小任务栏的情况
2、如果我不用 自适应, 智能 的话,能确保一直是小任务栏 ,但扩展屏的的时候,扩展屏不能满屏,下面还是有任务栏(不一定总出现,概率问题出现,特别电脑卡的时候特容易出现)
所以这个很纠结

新功能建议 加入快捷键

有时候并不想打开智能隐藏,但是要去任务栏里面点很麻烦,希望加入快捷键来设置是否开启。

另外就是希望也加入任务栏透明或者磨砂功能。

Windows side by side do not hide taskbar

When I put windows side by side (split option) do not hide taskbar.

Would it be possible to detect this scenario as well and hide the taskbar?

How is:

How is

How Should be:

How should be

离开(专注)模式 | 不使用状态栏一分到一分半钟后自动收起

有时会盯着屏幕发呆,这时候就想碍眼的任务栏暂时消失,好让我专心看壁纸。

工作时还是习惯直接点击任务栏图标切换程序,alt+tab 只有在来回切的情况下常用。如果软件能通过计时判断我此时不需要频繁切换程序,于是收起状态栏,会不会有一种很 awesome 的感觉?

总而言之这真是一个很好的软件,希望能考虑这个功能。

Issue with Windows 10 workspaces

I use Windows 10 virtual workspaces to isolate my regular chrome windows, office gmail (chrome) and personal gmail.

When moving from one workspace to the other, the smartaskbar worked beautifully - showing the taskbar whenever no window is maximized and hiding it when there is a maximized window is present.

It ran into problems when the different workspaces had maximized windows. I would use my keys to go from workspace number 2 to 3, but it would bounce back to 2 (3 had chrome gmail in fullscreen mode). As if workspace No 2 was sticky, it kept bouncing back to 2.

The issue does not exist without Smartbar.

Any ideas what could be happening? I'm happy to share any logs or more information.

Taskbar flickering when window is maximized

Hey! Thanks for this project.

So the problem is that taskbar/window is flickering on window maximize. Same with Animation on/off. Is it even possible to make it smooth?

Tried to capture this behavior in the gif below.

gif

SmartTaskbar hide on Application whereas displays on Desktop.......

Hi... I need your guys help. SmartTaskbar is working fine for me. But after some tweaks on the OS, i wanted it to do something like:
When I go to the Desktop, it should hide the Taskbar whereas when using any application, it should unhide. Right now, the case is vice versa i.e. when I go to the Desktop, it unhides the Taskbar whereas when using any application, it hides.
Please help me out. Thank you.

改进建议

首先表示对开发者的感谢!

其次就是问题:
软件使用的“智能”模式,然后任务栏使用的“小任务栏按钮”,每次重启或者鼠标点击软件的托盘图标都会使任务栏图标变成正常大小,请问这方面可以改进一下吗?

继续反馈个奇怪的问题

我的桌面有7x10个图标,打开我的电脑,最大化之后,状态栏隐藏,然后再最小化或者还原窗口,桌面图标会自动按照6行图标来排列,刷新一下才会变成7x10的排列。系统版本win10 LTSB,64位

Multiple monitors

Can you make the taskbar hide only on the display where a program is maximized and not all the others?

Icon for Windows light theme (Win 10 update may 19)

Hello,

The actual icon is designed with blank lines.

But with the new litght theme on Windows 10 update May 2019 a icon designed with black lines will be more aestethics (like battery or wifi icons).

Look:

Icon blank

新功能提议

当显示任务栏时,增加 任务栏透明化,或者磨砂化 功能.

对Bug的处理(白名单)

由于windows自带的问题,有些复杂的情况很难处理,可以考虑添加白名单机制,对部分最大化窗口不隐藏,解决这些窗口出现小问题令人不适的情况。。。

最大化后最小化再最大化任务栏显示问题

最大化的窗口最小化后点击任务栏中一个最大化的窗口任务栏没有隐藏

以资源管理器为例

1 窗口最大化后 任务栏隐藏
2 点击最小化按钮 任务栏显示
3 点击任务栏资源管理器图标 任务栏显示
4 点击其他图标或"显示隐藏的图标"箭头图标 任务栏隐藏
或用`Alt-Tab`切换一个最大化的窗口

Pointer delay; Explorer crash; reversion to small taskbar icons

Upon first run (of SmartTaskBar 1.1.8 - not of previous versions) the following happened: my mouse pointer became very slow; then explorer.exe crashed and restarted.

Also: since I installed the new version of SmartTaskbar, the size of my taskbar icons keeps reverting from normal to small, even though I do not have the 'small icons' option ticked in the options of SmartTaskbar. (Or at least I believe that I do not. Since the unticked state is represented with no icon at all, it is somewhat hard to tell.)

Version 1.1.8 running on Windows 8.1 Pro x64.

A new way to implement Auto Mode

I have been looking for new ways to implement Auto Mode in the past few months.

The basic idea is to set the taskbar to Auto-Hide and then activate it. In this way, many of the SmartTaskbar bugs will not longer exist (#8 , #13 , #19 , #24 , #25 ).

Currently I have found three successful but flawed ways:

  1. Use the WM_ACTIVATE message to activate the taskbar:

    PostMessage(FindWindow(TEXT("Shell_TrayWnd"), nullptr), WM_ACTIVATE, WA_ACTIVE, NULL);

    Using this method, we can bring out the taskbar in a very short time. It will quickly return to the hidden state and then display again when it receives the next WM_ACTIVATE message. This way is a bit stupid, but it looks very funny ~

  2. Use the WM_USER + 459 message to activate the taskbar:

    PostMessage(FindWindow(TEXT("Shell_TrayWnd"), nullptr), WM_USER + 459, TRUE, 0x10001);

    Deactivate:

    PostMessage(FindWindow(TEXT("Shell_TrayWnd"), nullptr), WM_USER + 459, FALSE, 0);

    This method can successfully activate the taskbar for a long time, and the effect is perfect. But its last parameter doesn't always have to be 0x10001, and its changing pattern looks like random. This makes it difficult for me to locate really valid values. Moreover, this method can only activate one taskbar at a time, not the desired multi-monitor solution.

  3. Use the WM_USER + 443 message to activate the taskbar by activate start button?

    PostMessage(FindWindow(TEXT("Shell_TrayWnd"), nullptr), WM_USER + 443, TRUE, 0);

    Deactivate:

    PostMessage(FindWindow(TEXT("Shell_TrayWnd"), nullptr), WM_USER + 443, FALSE, 0);

    This method requires a click on the start button to make it selected, and then the taskbar with the button can be activated. Similarly, only one taskbar can be activated at a time.

The above methods can be executed correctly on Windows10 1809. But these methods are not perfect, if you happen to know how to activate the taskbar when it is auto-hide, please help me!

一个自适应模式的小建议

希望自适应模式下,最大化窗口可以永久隐藏任务栏,待取消最大化窗口后再显现任务栏。

谢谢!

Potplay

对于PotPlay这个软件最大化时,鼠标移动到隐藏任务栏的地方。不会自动弹出任务栏。按win键弹出菜单的时候采用出现任务栏

Request: feature for other way arround, maximized = show and desktop = hide

Hey ChanpleCai,
This application looks great, but im just looking for a way to have it the other way around

I love to make my desktop as clean as possible and if you would make this feature my desktop would look super clean.

I would love it if you would make it so:
Maximized Windows = Taskbar shows and it doesnt auto hide
Desktop Visible = Taskbar hidden and auto hide is enabled

As I said I would like it reversed 😁

Thanks!
BlackBearFTW

Maximize window in new windows workspace like MacOS

Hope to add a new feature that when maximizing a window, it moves to a new windows workspace and hide the taskbar automatically like MacOS.

Moreover, users can config the setting to choose the behavior they want.

问题求助

开着软媒时间,然后打开Chrome浏览器,智能任务栏隐藏之后,再唤出任务栏会发现,右下角任务栏的东西都找不到了。是有冲突还是Bug啊?怎么解决呢?

欧路词典:最大化后假死

Version: 1.1.9
Platform: Windows 10 Pro 1803
Description:

  1. 欧路词典 已启动, SmartTaskbar 未启动;
  2. 将 欧路词典 最大化;
  3. 启动 SmartTaskbar;
  4. 欧路词典 假死,变成下面截图的样子。

此bug有点难复现,只是极小概率会出现。


Screenshot:

image

TopMost

I am happy that I found this just in time, I wrote a forum thread in MDL a couple of days ago asking if someone can develop a software that offer similar functions...

Right now I am using Activate Taskbar which resolve the issue with the windows taskbar and I've shared a way on how to hide it completely and still have it working properly which make it almost perfect for the task but it's very outdated software and doesn't support multi-screens

When I tried your software, I liked some of it's features but I really wish if you implant the same features in Activate Taskbar and have it stay top most, it will resolve the issue so many have with the taskbar and make your software a must in every desktop! (I am using yandex browser with tabs on the bottom and in fullscreen so I would love to have the tabs show automatically when I move the mouse to the bottom but at the same time when I move the mouse out of the screen and after let's say 600ms then the taskbar show up on top as it should so the task switching become seamless)

I can help with suggestion and UI design...

Option to fully hide taskbar

Normally, a hidden taskbar in windows still leaves a small strip visible on the bottom of the screen. It would be nice to be able to fully hide the taskbar, without leaving anything visible. #

Windows 8.1: blank tray icon

Screenshot:

image

SmartTaskbar version: 1.1.6.

By the way: I find your software a useful alternative to the inbuilt, but buggy, function that is built into Windows itself.

反馈两个问题

1.可以安装到其他盘吗?
2.我用的UC浏览器,运行一段时间后,鼠标移动到任务栏,任务栏不会自动弹出(不知道是不是个例)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.