Ctrl-mousewheel over the mode-button (object interaction mode) does nothing #80659
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#80659
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-5.4.0-47-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GT 630/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.138
Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-09 20:10, hash:
0721fbb6e1
Short description of error
Ctrl-mousewheel over the mode-button (object interaction mode) does nothing
Exact steps for others to reproduce the error
Open blender
Hover over the knob that sais "Object mode" in the upper left corner of 3D-view
Hold [ctrl] and roll the mousewheel
Nothing happens
Added subscriber: @user1
Added subscribers: @HooglyBoogly, @JulianEisel, @lichtwerk
Changed status from 'Needs Triage' to: 'Confirmed'
Can confirm the behavor, dont think this is a bug though.
This is a bit of a special button (
operator_menu_enum
-- calls operators with different properties, not even sure if we would want to support {key CTRL scrolling} on those?)But in a Debug build it asserts in
ui_but_range_set_soft
after298d5eb669
-- this should not happen (though it is harmless).Easiest way to prevent that is
P1627: T80659_snippet
(but the correct way would be to make sure this button does not have
postbut
in the first place)Anyways, getting offtopic here, will ask for a decision of whether or not this is to be supported on these kind of special buttons: @JulianEisel, @HooglyBoogly
(to me, this sounds like a limitation - probably a sane limitation even - and not a bug, but will let module owners decide).
Right, as far as I know these operator enum buttons don't know about which item in their enum is active anyway, so ctrl scrolling isn't expected to work here.
That fix for the assert seems fine, might want to still check with Julian about it though.
Changed status from 'Confirmed' to: 'Archived'
For a button that doesn't support cycling, execution shouldn't even reach this point. So committed a different fix for this assert,
92454ae100
.But I also found the assert to be pretty weirdly placed, and decided to remove it
88a9d82bbb
.I also find it odd that we explicitly have to set the ranges here, that seems like a lower level function than what should be called here. I'd expect
ui_but_update()
/ui_but_update_edited()
to be called here (not sure which exactly). It already sets the soft range, and should probably also ensure the correct hard range.Anyway, for the report itself - like others have said, this is not really a bug. The object mode is a rather special case, Ctrl+Mousewheel isn't supported here and probably shouldn't be for now (changing modes can be a heavy operation, but it may also be destructive, e.g. for the undo steps). Ctrl+Mousewheel is a convenience/efficiency feature, but we can't deliver on that currently.
was the fix for #78763 (could have possibly been done in another way, was the most limited in scope I thought at that time)
@lichtwerk could you play with my suggestion above to see if it works as an alternative fix? Not super important but would be nice to keep code here as clean as possible (it's already confusing as hell).