shift+key with option click #79299

Open
opened 2020-07-26 22:52:10 +02:00 by -- · 10 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Intel(R) HD Graphics 630 Intel 4.5.0 - Build 26.20.100.7262

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-07-05 20:45, hash: baf124c753
Worked: (newest version of Blender that worked as expected)

Short description of error
[problem with a key set to 'CLICK' and with shift=True]

Exact steps for others to reproduce the error
If I do a shortcut with e.g: km.keymap_items.new('wm.call_panel', 'S', 'CLICK', shift=True)
I need to press and hold Shift and then press and release S.
I mean if you do a click on a key without shift or ctrl or alt, the option is respected. but adding a Shift for example the property is not working the same anymore.
apparently in the programing of this click option the presence or not of another key has not been considered.
the interest of a click as it is explained in the blender help is when you add another key with the same shortcut but with the option 'CLICK_DRAG'

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: Intel(R) HD Graphics 630 Intel 4.5.0 - Build 26.20.100.7262 **Blender Version** Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-07-05 20:45, hash: `baf124c753` Worked: (newest version of Blender that worked as expected) **Short description of error** [problem with a key set to 'CLICK' and with shift=True] **Exact steps for others to reproduce the error** If I do a shortcut with e.g: km.keymap_items.new('wm.call_panel', 'S', 'CLICK', shift=True) I need to press and hold Shift and then press and release S. I mean if you do a click on a key without shift or ctrl or alt, the option is respected. but adding a Shift for example the property is not working the same anymore. apparently in the programing of this click option the presence or not of another key has not been considered. the interest of a click as it is explained in the blender help is when you add another key with the same shortcut but with the option 'CLICK_DRAG'
Author

Added subscriber: @zgorg

Added subscriber: @zgorg

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

You probably want to use PRESS instead of CLICK? Also make sure your new shortcut is not in conflict with any other shortcut.

For help using Blender, please try one of the community websites: https://www.blender.org/community/

Keep in mind that this is bug tracker, we don't provide user support here.

You probably want to use `PRESS` instead of `CLICK`? Also make sure your new shortcut is not in conflict with any other shortcut. For help using Blender, please try one of the community websites: https://www.blender.org/community/ Keep in mind that this is bug tracker, we don't provide user support here.

Added subscriber: @jenkm

Added subscriber: @jenkm

What is meant here is that if you release Shift before you release S,
it will not be considered as CLICK Shift-S. The RELEASE S will be triggered.

What is meant here is that if you release `Shift` before you release `S`, it will not be considered as `CLICK` `Shift-S`. The `RELEASE` `S` will be triggered.

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel

Thanks for clarification. so issue is, that if you release modifier key before "main" key, modifier will be disregarded.
This sounds like something that has been reported but I can't find any relevant past report. @JulianEisel should we consider this bug or feature request?

Thanks for clarification. so issue is, that if you release modifier key before "main" key, modifier will be disregarded. This sounds like something that has been reported but I can't find any relevant past report. @JulianEisel should we consider this bug or feature request?

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Member

If we move this out of the triaging queue (by changing status label to Needs Information from Developers), this needs to be the responsibility of a module (so a Module label must be added)

If we move this out of the triaging queue (by changing status label to `Needs Information from Developers`), this needs to be the responsibility of a module (so a `Module` label must be added)
Philipp Oeser added the
Module
User Interface
label 2023-02-14 13:01:12 +01:00
Sign in to join this conversation.
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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#79299
No description provided.