question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some placement issues with top taskbars

See original GitHub issue

Hi! I found this project because someone I follow starred this.

I’ve been working on a similar project, yet found this. I think this could potentially be a better project than mine, so I decided to write up a couple of issues I’ve noticed with top taskbars to potentially help you a bit along the way.

  1. Window thumbnails are rendered offscreen.
  2. Taskview is rendered at the bottom of the display
  3. Notifications and control panel are oriented from bottom-to-top when the taskbar is at the top

Some of these issues I’ve fixed in my own project. Following is some info that may help people potentially fixing it.

Window Thumbnail misplacement

When hovering a taskbar icon, the thumbnail is rendered above the taskbar. To fix this, I had my program poll every x milliseconds for the thumbnails window, and place it under the taskbar with the win32 call SetWindowPos. The thumbnails window’s class name is TaskListThumbnailWnd. It’s window title varies, but finding the window by class should work fine.

Taskview misplacement

The taskview has a similar issue to the thumbnail view, yet instead of getting rendered above the taskbar it gets rendered at the bottom of the screen (+ the taskbar height). Fixing this was done with a SetWindowPos call as well. It’s window class is XamlExplorerHostIslandWindow. It’s window title is empty.

Notifications and controlpanel view misplacement

I haven’t found a fix for this yet. The notification view window has the same height as the display, even when the actual contents don’t add up to that height. I haven’t been able to calculate the actual height due to the actual window appearing to be XAML based. The window classes for both is Windows.UI.Core.CoreWindow, with their window titles being Control Center and Notification Center respectively.

One small issue here is that these solutions require polling User32 APIs to find windows and their positions (and fix them).

In conclusion

I really want this to work, as I am extremely petty towards Microsoft’s decision to lock the taskbar. Feel free to contact me if you want to discuss possible solutions 😃 (Discord Naamloos#2887)

By the way, my existing solution can be found here: https://github.com/Naamloos/TopCenterStart11/blob/master/src/main.rs (it’s a single source file, but it works.)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
jetspikingcommented, Jan 18, 2022

For a next release I hope to give the entire app support to keep it running in the background (and hide the taskbar icon). In the registry a path can be set to launch an application. A service could be prevented this way to keep this application as portable as possible. This was suggested in the following issue by @Euclidite.

https://github.com/jetspiking/Taskbar11/issues/14

4reactions
jetspikingcommented, Jan 18, 2022

Hi there!

Thank you for your extensive reply. This sounds like a great solution for the thumbnail issue and the placement of the startmenu.

What is the issue with the Task View and notifications? I am not noticing any elements falling off sceen.

I will attempt to implement a fix for the thumbnail misplacement in the upcoming version, this is probably the most important issue with a top-aligned taskbar.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Applications over lapping my taskbar
1) Go into Settings > Personalization > TaskBar, change TaskBar location from Bottom to Top, then back to Bottom again. 2) Try these...
Read more >
Windows 10 Taskbar is not "Always on Top"
Right click the taskbar, go to Taskbar Settings, change "Taskbar Location on Screen", then change it back. Worked for me. – mbomb007. Jun...
Read more >
How to move Taskbar to top or side on Windows 11
Click on Taskbar. Use the “Taskbar style” setting and select the “Windows 10” option. Use the “Primary taskbar location on screen” setting and ......
Read more >
Windows 11 taskbar (21H2): Move to top, left, right, or bottom
Perhaps it's time to call the lawyers. The inability to move the taskbar is causing some people physical harm due to eye conditions....
Read more >
How to Fix Windows 11 Taskbar Not Working ... - YouTube
You will also see fixes for Windows 11 taskbar not showing. ... Windows 11 00:51 Restart Windows Explorer 01:27 Close Some Services 02:08 ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found