wcm icon indicating copy to clipboard operation
wcm copied to clipboard

Issue with compound option named "workspace_bindings"

Open marcusbritanicus opened this issue 2 years ago • 2 comments

If any compound option has the name workspace_bindings, the corresponding group-box will have the title "Go To Workspace Bindings". For example, wsets:

snapshot

Instead, it would be much better if WCM could read the "Short Description" and show it (<_short>...</_short>) From IRC

<soreau> https://github.com/WayfireWM/wcm/blob/master/src/wcm.cpp#L888 <soreau> must come from here I guess

marcusbritanicus avatar Sep 24 '23 20:09 marcusbritanicus

There is actually a more general problem about compound options because each dynamic-list option is handled with a custom widget written specifically for the option. I want to eventually write a generic widget for such options, and it will eliminate the issue.

NamorNiradnug avatar Sep 24 '23 22:09 NamorNiradnug

That would be nice. Now that there is type-hint for compound options. You should be able to make generic widgets quite easily for the three scenarios.

marcusbritanicus avatar Sep 25 '23 05:09 marcusbritanicus