cmdtab icon indicating copy to clipboard operation
cmdtab copied to clipboard

Request

Open H5820121 opened this issue 2 months ago • 2 comments

@stianhoiland

Thank you for the amazing and very useful application!

  1. Could you please add an option in the settings to exclude certain windows from appearing. For example, I use RoundedScreen.exe https://github.com/BeezBeez/Windows-RoundedScreen and a window appears that is of no use to me:
Image
  1. As you can see in the screenshot, the XYplorer icon appears in a strangely small size.
Image
  1. If several windows of the same application are open, for example several Word documents, is it possible for this to be indicated by the Word icon? For example, if two documents are open, the number two will appear on the Word icon.

Thanks!

What is most important and urgent for me is the first request (to exclude the RoundedScreen.exe window). Thank you very much!

H5820121 avatar Oct 25 '25 18:10 H5820121

  1. cmdtab has very basic support for excluding windows, called the blacklist, but I haven't gotten around to making it user configurable. There is an easy way for you to accomplish this if you can compile cmdtab yourself: There is an undocumented feature in cmdtab which displays the information needed to hide the window. Select the window you want to hide in the switcher and press Alt-B. It will tell you the window class and filename of that window. You should add those to the code here and recompile cmdtab, and your window should then be ignored.

  2. This is a known issue that AFAIK requires a mega-stupid amount of work to fix. It's not a cmdtab issue, but a Win32 API issue. I could give this an easy fix, but then all the window icons will be lower resolution. There is code in @prechelt's fork (GetWindowIcon) that you could look at if you really cannot stand the tiny icons (I mean, they are ugly, but costs too much to fix). cmdtab already had this function many versions ago, but I switched over to using application icons instead of window icons because they can be higher resolution.

  3. A version of this has been added in e2e41f46, but it hasn't been packaged into a release yet. The window count is displayed at the end of the name/title. This isn't exactly what you are asking for, but it may help anyway. I have experimented with a window count badge like you are suggesting, and I wasn't content with it, so I dropped it for now.

stianhoiland avatar Oct 26 '25 09:10 stianhoiland

@stianhoiland Thank you very much for the detailed answer!

This isn't exactly what you are asking for, but it may help anyway

That's enough for me, I'm waiting for this version.

H5820121 avatar Oct 26 '25 14:10 H5820121