Giter Site home page Giter Site logo

translucenttb / translucenttb Goto Github PK

View Code? Open in Web Editor NEW
14.5K 219.0 1.1K 11.33 MB

A lightweight utility that makes the Windows taskbar translucent/transparent.

License: GNU General Public License v3.0

C++ 97.50% C 0.96% PowerShell 1.08% CMake 0.46%
taskbar windows windows-10 customization aero undocumented blur fluent-design discord gitter

translucenttb's Introduction

TranslucentTB

Liberapay patrons Join on Discord Build Status CodeFactor

Microsoft Store App Awards 2022 - Community Choice Award: Open Platform (runner up)Microsoft Store App Awards 2022 - Community Choice Award: Open Platform (runner up)

A lightweight (uses a few MB of RAM and almost no CPU) utility that makes the Windows taskbar translucent/transparent on Windows 10 and Windows 11.

Features

  • Advanced color picker supporting alpha and live preview to change the taskbar's color.
  • Taskbar states (choose one - color can be customized on every state except Normal):
    • Normal: Regular Windows style. (as if TranslucentTB was not running)
    • Opaque: Tinted taskbar, without transparency.
    • Clear: Tinted taskbar.
    • Blur: Will make the taskbar slightly blurred. Windows 10 and Windows 11 build 22000 only.
    • Acrylic: Will give the taskbar an appearance similar to Microsoft's Fluent Design guidelines.
  • Dynamic modes (these can be used together and each of them provides a taskbar state and color you can customize):
    • Visible window: Will change the taskbar to a different appearance if a window is currently open on the desktop.
    • Maximized window: Will change the taskbar to a different appearance if a window is currently maximised.
    • Start opened: Will change the taskbar appearance when the start menu is opened.
    • Search opened: Will change the taskbar appearance when the search menu (previously Cortana) is open.
    • Task View opened: Will change the taskbar apperance when the Task View (previously Timeline) is open.
  • On Windows 10, ability to show or hide the Aero Peek button depending on the currently active dynamic mode.
  • On Windows 11, ability to show or hide the taskbar line depending on the currently active dynamic mode.
  • Compatible with RoundedTB!
  • Compatible with ExplorerPatcher!

Screenshots

windows 11 acrylic windows 11 clear

windows 10 acrylic windows 10 clear windows 10 blur

Download

Get it from Microsoft

You can download the program for free from the Microsoft Store and take advantage of its features like background auto-updates.

Alternatively, you can download TranslucentTB.appinstaller via the releases tab and open it to install the app.

A portable version of the app is also available on GitHub releases as TranslucentTB.zip, but this version only works on Windows 11.

If you want to get the latest bleeding edge build, you can grab it over at the Azure Pipelines page. Note that these builds may not work, or include features that are partially complete. Use at your own risk.

Add to Startup

To add TranslucentTB to startup, check the "Open at boot" entry in the TranslucentTB tray icon's context menu. If it is grayed out, TranslucentTB startup has been disabled by your organization.

Portable versions can be added to startup by creating a shortcut to the executable in %AppData%\Microsoft\Windows\Start Menu\Programs\Startup.

Donations and contributions

We have a Liberapay! Don't hesitate to donate if you appreciate TranslucentTB and would like to support our work.

If you want to contribute to the source code, we have a how-to contribute guide.

Security

Some antiviruses are over eager, so they might flag this program as malicious. IT IS NOT! Over 10M users have downloaded this program safely. The source is open, you can compile it yourself, and we welcome any and all security reviews.

Thanks

TranslucentTB is a team effort! It is the result of the collective efforts of many people:

Thanks to @dAKirby309 for making the icon! You can find more of his stuff on his DeviantArt profile.

License

This program is free (as in speech) software under the GPLv3. Please see the license file for more.

translucenttb's People

Contributors

5idereal avatar amrbashir avatar anfia avatar bxkr avatar dongle-the-gadget avatar eighteggs avatar ethanhs avatar fall-rain avatar ghost1372 avatar gitter-badger avatar jay900604 avatar littlewhitecloud avatar lvzhenbo avatar maboroshin avatar mraksel avatar musassh avatar nirit100 avatar oleksis avatar olliecheng avatar roflankaban avatar sylveon avatar tesutarin avatar thegamer1002 avatar thor-x86 avatar udev2019 avatar wasdennnoch 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  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

translucenttb's Issues

Theme Cortana search bar

I'm using Windows 10 (10.0.14393) and the Cortana bar isn't colored/themed.

Screenshots:
Start menu closed
Start menu opened

Except for that, everything looks and works just fine!

Multi-monitor

It only seems to be affecting the taskbar on one of my monitors. Figured this was a bug since you mentioned that multi-monitor was supported

Settings

This should be in the form:

blur=1
setting=[num]
# comments would be bonus

Using iostream and std::string, this should be easy enough.

These setting should be passed to a state struct that holds the settings while the program is running (since these settings can be changed via command line, or the tray).

feature request: able to change taskbar text color

I don't know if TranslucentTB can do this, but I'm just asking, feel free to close if it's out of scope!
I am running a less common configuration: vertical taskbar on right, autohide, small text, never combine.

The problem is that when the background is lighter, windows keeps displaying taskar text items with white color. This makes it from difficult to impossible - depending on what background color or window is below the taskbar - to read the text on taskbar with TTB on.

Attaching screenshots. The question is: is there any way TTB can outsmart windows and make taskbar text darker when the background is lighter? I've tried all possible combinations in windows settings and it seems it insists on keeping the white text no matter what (except when using high contrast which is seriously ugly and makes transparency pointless)

image
image

update checking

add ability to check for update.
at least the exe should post a warning when a version is available

The startup

It will be better if it can automatically starts when the system starts.

Change Transparency of Start Menu

Currently it's kind of jarring when my Start Menu has a different colour/transparency. Is there any way to apply the same effect to the start menu? :)

Tray with color picker?

When #6 is merged, exploring a color picker launched from the tray might be an interesting concept.

Trigger repaint of taskbar on exit

Right now the user needs to open start to trigger a repaint of the taskbar after exiting. We should do this for them. RedrawWindow did not work for me, but more experimentation is needed.

dynamic-start - Repeatedly clicking Start Button causes application to not work

I recently pushed out commit b6479fd which adds support for dynamic-start, but I've observed some weird behavior -

  • The feature works as expected when using the Start button on your keyboard or clicking the Start Button on the taskbar once
  • When repeatedly pressing the Start button on your keyboard the feature still works as expected
  • But, when repeated pressing the Start Button on the taskbar, the feature stops working (hangs on normal taskbar state) until you put another window in focus.

This could be because when closing the Start Menu using the keyboard, the original window goes back into focus, while when using the mouse to open it you change focus to the Taskbar.

This isn't a deal breaker, and isn't too important, but just an observation which I think should be fixed if possible.

dynamic-ws not working

I guess you do it by creating a shortcut and and adding parameters to Target field? How to specify attributes to parameters though? And how to add dynamic states?

Please provide examples.

The taskbar keeps flashing

In blur mode everything is fine, but when I choose clear mode the taskbar keeps flashing, or more accurately, keeps switching between blur and clear mode rapidly.

I restarted the program then problem resolved. Still hope that what I reported before could be helpful.

Multi-Instances

Multi instances of the program can cause DWM to BSOD ( GSOD for Insiders) the OS and prevent explorer.exe from starting up all together even on a clean reboot due to how windows handles coloring

Reset taskbar state to default?

A normal setting would be nice for dynamic-ws, but I can't seem to get it working. Manually sending WM_PAINT doesn't work, and nor does using RedrawWindow/InvalidateRect+UpdateWindow.

Add animations to Dynamic Transitions

Currently, Dynamic Transitions happen instantly. We should add an option for a 'smooth' transition between states (especially Dynamic Window States), like ChromeOS. Intended to work with #64.

feature request: "normal mode" systray menu item

The systray icon provides three options:
clear
blur
exit

it would be useful to add a fourth item, "normal"/"no effect"/"regular" (choose the best naming), that clears the effect but keeps the program in memory (it's small anyway).
this way I wouldn't have to launch it again if I want to switch modes.
thank you!

Feature Request: Disable Transparency when any application is maximized.

I would like an option for the transparency effects on the taskbar & title bar to be disabled when an application is maximized. When an application is not maximized I would like to have transparency effects. I don’t want to see what is behind my taskbar/title bar when I have an application maximized. I believe Windows Vista had this functionality.

Ever since you added the tray icon, I cannot compile with the `cl` command line tool

This command used to work, now it only gives me this:

C:\Users\Charles\Git\TranslucentTB\TranslucentTB>cl main.cpp /EHsc /Fe"TranslucentTb" /link /subsystem:windows user32.lib
Compilateur d'optimisation Microsoft (R) C/C++ version 19.00.24213.1 pour x64
Copyright (C) Microsoft Corporation. Tous droits réservés.

main.cpp
main.cpp(220): error C2664: 'HWND FindWindowA(LPCSTR,LPCSTR)' : impossible de convertir l'argument 1 de 'const wchar_t [23]' en 'LPCSTR'
main.cpp(220): note: Les types pointés n'ont aucun rapport entre eux ; conversion nécessitant reinterpret_cast, cast de style C ou cast de style fonction
main.cpp(274): error C2660: 'wcscpy_s' : la fonction ne prend pas 2 arguments
main.cpp(292): error C2440: '=' : impossible de convertir de 'const wchar_t [14]' en 'LPCSTR'
main.cpp(292): note: Les types pointés n'ont aucun rapport entre eux ; conversion nécessitant reinterpret_cast, cast de style C ou cast de style fonction
main.cpp(303): error C2664: 'HWND CreateWindowExA(DWORD,LPCSTR,LPCSTR,DWORD,int,int,int,int,HWND,HMENU,HINSTANCE,LPVOID)' : impossible de convertir l'argument 2 de 'const wchar_t [14]' en 'LPCSTR'
main.cpp(303): note: Les types pointés n'ont aucun rapport entre eux ; conversion nécessitant reinterpret_cast, cast de style C ou cast de style fonction
main.cpp(317): error C2664: 'HWND FindWindowExA(HWND,HWND,LPCSTR,LPCSTR)' : impossible de convertir l'argument 3 de 'const wchar_t [23]' en 'LPCSTR'
main.cpp(317): note: Les types pointés n'ont aucun rapport entre eux ; conversion nécessitant reinterpret_cast, cast de style C ou cast de style fonction

I removed the error generated by the edits I am working on right now.

clear mode on startup

hi there i am using TranslucentTB.2017.2.zip and i just created a shortcut on startup. now i want to know is there any option to make CLEAR MODE on startup instead of BLUR MODE?

Change Transparency of the Overflow Notification Area

This shouldn't be too hard to do hopefully. The Window name is Overflow Notification Area, and class name is ToolbarWindow32. This is not a child of the ShellTray_Wnd process (thanks Microsoft), so it doesn't get effected by the program. For consistency, it would be a nice thing to do.

Update readme.md to demo use of software

I'd like to submit a gifv or screenshot/image to demonstrate what this simple piece of software does for Windows 10 task bars.

As well as write up instructions that better communicate how to automatically have Windows load the app on startup. (Some people forget that they need to have hidden files turned on to see the AppData folder) Just so users don't have to scroll through reddit comments as much.

Thoughts?

Really enjoying what this has done for my desktop btw.

Log file

Now that the program has grown a little it might be fitting to include a log file to make it easier to debug in case someone experiences problems. I'm mostly thinking logging details related to config file IO and parsing, but there may be other areas that benefit too.

"config.cfg" file not being read.

The start menu is opened and the taskbar flashes once.
After the boot setting is default(blur)
I have to restart "TranslucentTB.exe", "Dynamic windows" to take effect

I do not know how I solved, but I did solve this problem, as if by adding "TranslucentTB" in

C:\ Users \ jk \ AppData \ Roaming \ Microsoft \ Windows \ Start Menu \ Programs \ Startup

". Lnk ",
and in such a configuration:
Dynamic states: Window States and (WIP) Start Menu Dynamic-ws = enable .
Perhaps also in the "TranslucentTB.lnk" set the parameters, such as a "-save". Remember not clear

Standardise behavior in task view

As of now with dynamic mode on, in task view it just uses the last style. It would be neat if it was standardized, always clear or always blurred.

Add custom taskbar state for Dynamic States

Add an option like --dynamic-ws RESET or --dynamic-ws BLUR so that when a window is maximised (or start menu is open), the specified taskbar state will be applied. I propose:

NORMAL: reset to normal Windows taskbar state
BLUR: blur. Same as ACCENT_ENABLE_BLURBEHIND.
CLEAR: transparent. Same as ACCENT_ENABLE_TRANSPARENTGRADIENT.
OPAQUE: completely opaque with specified gradient. Same as ACCENT_ENABLE_GRADIENT.

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.