Feature/fix request: wm.zenuv_trim_scroll_fit fail...
# zenuv-feature-requests
t
When Preferences → Trimsheet → Mode = IMAGE and there's no active image, ZUV_OT_TrimScrollFit.invoke() returns {'CANCELLED'} without any feedback — no self.report, nothing in the status bar, nothing in the info log. The hotkey fires correctly and poll() returns True, so from the user's side it just looks like the shortcut is broken. Took me a while to figure out the actual cause was the trimsheet mode + missing active image, especially since the scene already had a populated trimsheet (which is ignored in IMAGE mode). Would be great to either: self.report({'WARNING'}, "No active image / trimsheet owner") when getTrimsheetOwner() returns None, or move that check into poll() so the operator at least visibly greys out / shows a tooltip reason. File: ZenUV/ui/tool/tool_ops.py, ZUV_OT_TrimScrollFit.invoke() — the return {'CANCELLED'} at the end of the if p_trim_owner: block. Thanks!
a
hi, we didn't make any message, because when image is without trims it is clear that there is no trims. It looks like this:
I mean that when scrolling, you are changing the active trim and in this case it is pretty clear that there are nothing to change. But ok, it's no problem for us to add a message that there are no trims
t
I'll explain. All is fine when you have UV open, N panel open - settings are visible. But in a scenario when you work full screen (zen mode - no panels, pure shortcuts (multiple files)), and try to switch trim, and have no feedback. Have to open UV, check image, open zen, open trim tab - its a flow and its breaking. Well would be super cool if you do the message 🙂
a
We added it. It will appear soon in the new update