Shell icon indicating copy to clipboard operation
Shell copied to clipboard

Taskbar context menu titles are broken on Windows 11 Dev 26120.1252

Open CatPieLeaf opened this issue 1 year ago • 14 comments

image

Some text is missing on nilesoft shell taskbar context menu in Windows 11 24H2 Insider (Dev channel) 26120.1252

Updated temporary workaround:

Thanks to RubicBG

(change your taskbar.nss to this)

menu(type="taskbar" vis=key.shift() or key.lbutton() pos=0 title=app.name image=\uE249)
{
	item(title="config" image=\uE10A cmd='"@app.cfg"')
	item(title="manager" image=\uE0F3 admin cmd='"@app.exe"')
	item(title="directory" image=\uE0E8 cmd='"@app.dir"')
	item(title="version\t"[email protected] vis=label col=1)
	item(title="docs" image=\uE1C4 cmd='https://nilesoft.org/docs')
	item(title="donate" image=\uE1A7 cmd='https://nilesoft.org/donate')
}
menu(where=@(this.count == 0) type='taskbar' image=icon.settings expanded=true)
{
	menu(title="Apps" image=\uE254)
	{
		item(title='Paint' image=\uE116 cmd='mspaint')
		item(title='Edge' image cmd='@sys.prog32\Microsoft\Edge\Application\msedge.exe')
		item(title='Calculator' image=\ue1e7 cmd='calc.exe')
		item(title=str.res('regedit.exe,-16') image cmd='regedit.exe')
	}
	menu(title='Windows' image=\uE1FB)
	{
		item(title='Cascade' cmd=command.cascade_windows)
		item(title=str.res('C:\Windows\explorer.exe', -538) cmd=command.Show_windows_stacked)
		item(title=str.res('C:\Windows\explorer.exe', -536) cmd=command.Show_windows_side_by_side)
		sep
		item(title=str.res('C:\Windows\explorer.exe', -537) cmd=command.minimize_all_windows)
		item(title='Restore all windows' cmd=command.restore_all_windows)
	}
	item(title=title.desktop image=icon.desktop cmd=command.toggle_desktop)
	item(title=title.settings image=icon.settings(auto, image.color1) cmd='ms-settings:')
	item(title=str.res('C:\Windows\explorer.exe', -22001) sep=both image=icon.task_manager cmd='taskmgr.exe')
	item(title='Taskbar settings' sep=both image=inherit cmd='ms-settings:taskbar')
	item(vis=key.shift() title='Exit Explorer' cmd=command.restart_explorer)
}

Nilesoft shell is just failing to get the text for the entries. these settings just apply the text to the entries manually.

CatPieLeaf avatar Jul 25 '24 14:07 CatPieLeaf

Can confirm on 26100.1297.

win98se avatar Jul 27 '24 22:07 win98se

Can confirm as well I suspect it could be that window changed the internal name of those names

CatsArmy avatar Jul 30 '24 12:07 CatsArmy

same on 26100.1301

CHminggao avatar Aug 05 '24 01:08 CHminggao

can someone upload "C:\Windows\System32\shell32.dll" and "C:\Windows\explorer.exe"

RubicBG avatar Aug 05 '24 07:08 RubicBG

can someone upload "C:\Windows\System32\shell32.dll" and "C:\Windows\explorer.exe"

From Windows dev build 26120.1330

shell32+explorer.zip

CatPieLeaf avatar Aug 05 '24 09:08 CatPieLeaf

and this one pls "C:\Windows\en-US\explorer.exe.mui"

RubicBG avatar Aug 06 '24 19:08 RubicBG

explorer files.zip

and this one pls "C:\Windows\en-US\explorer.exe.mui"

There you go both files from 26100.1301 which has the same issue

Screenshot 2024-08-07 220132

ararezaee avatar Aug 07 '24 19:08 ararezaee

all 71 ids responsible for Windows 10 and 11 taskbar context menu names have been removed. even though the names don't come out, do the commands all execute?

item(title=str.res('C:\Windows\explorer.exe', -536))
item(title=str.res('C:\Windows\explorer.exe', -537))
item(title=str.res('C:\Windows\explorer.exe', -538))
item(title=str.res('C:\Windows\explorer.exe', -22001))

image Only those names can be retrieved under those ids. Regardless of whether there is a name/text match these are not the names of the commands ("Show windows side by side" not the same as "Show windows s&ide by side")

RubicBG avatar Aug 07 '24 20:08 RubicBG

These did work, i'll update the temporary workaround.

image

CatPieLeaf avatar Aug 07 '24 21:08 CatPieLeaf

Yeah they work just no name really weird choice form Microsoft with all the talk about backwards compatibility

CatsArmy avatar Aug 08 '24 01:08 CatsArmy

This issue has been fixed in Canary version 1.9.17 with an fallback title.

moudey avatar Aug 09 '24 18:08 moudey

1.9.17 not pushed yet? latest canary still 1.9.16

CatPieLeaf avatar Aug 12 '24 22:08 CatPieLeaf

Nope I have . 17 don't know why it don work for you

CatsArmy avatar Aug 12 '24 23:08 CatsArmy

same here

henk911 avatar Oct 06 '24 21:10 henk911