Originally created by @RaptDept on GitHub (May 16, 2024).
Is your feature request related to a problem? Please describe.
I use stacks and the stackbar a lot. The stackbar currently uses process names to label each item in the stack. But sometimes, process names aren't very useful in identifying a specific window, especially when the stack contains multiple instances of a process that can have different window titles (see screenshot for an example).
Describe the solution you'd like
Have an option to use window titles instead of process names in stackbar labels.
I don't know if it should be a global setting, or managed with window rules.
Describe alternatives you've considered
N/A
Additional context
A stackbar containing 3 different progressive web apps, all based on the same browser (Edge). In this instance, the stackbar isn't helpful in identifying which window is which.
Originally created by @RaptDept on GitHub (May 16, 2024).
**Is your feature request related to a problem? Please describe.**
I use stacks and the stackbar a lot. The stackbar currently uses process names to label each item in the stack. But sometimes, process names aren't very useful in identifying a specific window, especially when the stack contains multiple instances of a process that can have different window titles (see screenshot for an example).
**Describe the solution you'd like**
Have an option to use window titles instead of process names in stackbar labels.
I don't know if it should be a global setting, or managed with window rules.
**Describe alternatives you've considered**
N/A
**Additional context**
A stackbar containing 3 different progressive web apps, all based on the same browser (Edge). In this instance, the stackbar isn't helpful in identifying which window is which.

@RaptDept 😆 I swear I did not see this when I created #827
I'll just close mine as it is now mentioned here.
@CtByte commented on GitHub (May 16, 2024):
@RaptDept 😆 I swear I did not see this when I created #827
I'll just close mine as it is now mentioned here.
@LGUG2Z I really like this feature so I did quickly test this and I was wondering if it would be possible to have a tooltip in case the text cannot fit on the tab?
Also, the tab updates when it loses focus, I dont know if there is an event that fires when the window title updates (can try to clicking on like firefox tabs and the windows title bar updates)
I update the title
I click the notepad
@CtByte commented on GitHub (May 17, 2024):
@LGUG2Z I really like this feature so I did quickly test this and I was wondering if it would be possible to have a tooltip in case the text cannot fit on the tab?

---
Also, the tab updates when it loses focus, I dont know if there is an event that fires when the window title updates (can try to clicking on like firefox tabs and the windows title bar updates)
I update the title


I click the notepad

I pushed a change to add real-time label updates when StackbarLabel::Title, but I don't think that tooltips are going to be added anytime soon because it seems very involved and possibly like it would require changing the stackbar implementation to create a new Win32 window for each tab (vs. one Win32 window for multiple tabs which we have atm): https://learn.microsoft.com/en-us/windows/win32/controls/create-a-tooltip-for-a-rectangular-area
@LGUG2Z commented on GitHub (May 17, 2024):
I pushed a change to add real-time label updates when `StackbarLabel::Title`, but I don't think that tooltips are going to be added anytime soon because it seems very involved and possibly like it would require changing the stackbar implementation to create a new Win32 window for each tab (vs. one Win32 window for multiple tabs which we have atm): https://learn.microsoft.com/en-us/windows/win32/controls/create-a-tooltip-for-a-rectangular-area
It does sound unreasonable to rework the stackbar just to show tooltips.
The only other option that could work is to track the mouse position and update the tooltip of the single Win32 window when the mouse is over a tab. That however feel like an overkill solution for something so small.
I am more than happy with the current implementation, it is a great addition to the stackbar! 🎉
@CtByte commented on GitHub (May 17, 2024):
Thank you! The real-time update works nicely.
It does sound unreasonable to rework the stackbar just to show tooltips.
The only other option that could work is to track the mouse position and update the tooltip of the single Win32 window when the mouse is over a tab. That however feel like an overkill solution for something so small.
I am more than happy with the current implementation, it is a great addition to the stackbar! 🎉
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @RaptDept on GitHub (May 16, 2024).
Is your feature request related to a problem? Please describe.
I use stacks and the stackbar a lot. The stackbar currently uses process names to label each item in the stack. But sometimes, process names aren't very useful in identifying a specific window, especially when the stack contains multiple instances of a process that can have different window titles (see screenshot for an example).
Describe the solution you'd like
Have an option to use window titles instead of process names in stackbar labels.
I don't know if it should be a global setting, or managed with window rules.
Describe alternatives you've considered
N/A
Additional context

A stackbar containing 3 different progressive web apps, all based on the same browser (Edge). In this instance, the stackbar isn't helpful in identifying which window is which.
@CtByte commented on GitHub (May 16, 2024):
@RaptDept 😆 I swear I did not see this when I created #827
I'll just close mine as it is now mentioned here.
@CtByte commented on GitHub (May 17, 2024):
@LGUG2Z I really like this feature so I did quickly test this and I was wondering if it would be possible to have a tooltip in case the text cannot fit on the tab?
Also, the tab updates when it loses focus, I dont know if there is an event that fires when the window title updates (can try to clicking on like firefox tabs and the windows title bar updates)
I update the title
I click the notepad
@LGUG2Z commented on GitHub (May 17, 2024):
I pushed a change to add real-time label updates when
StackbarLabel::Title, but I don't think that tooltips are going to be added anytime soon because it seems very involved and possibly like it would require changing the stackbar implementation to create a new Win32 window for each tab (vs. one Win32 window for multiple tabs which we have atm): https://learn.microsoft.com/en-us/windows/win32/controls/create-a-tooltip-for-a-rectangular-area@CtByte commented on GitHub (May 17, 2024):
Thank you! The real-time update works nicely.
It does sound unreasonable to rework the stackbar just to show tooltips.
The only other option that could work is to track the mouse position and update the tooltip of the single Win32 window when the mouse is over a tab. That however feel like an overkill solution for something so small.
I am more than happy with the current implementation, it is a great addition to the stackbar! 🎉