Middle Mouse Button on taskbar icon does not open a new instance #94061

Closed
opened 2021-12-14 13:36:57 +01:00 by Adrian · 16 comments

System Information
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3070 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.89

Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: f1cca30557
Worked: 2.93 LTS

Short description of error
You cannot open a new instance by middle mouse clicking on the Blender icon in the taskbar, as it used to be and as other programs behave.

Exact steps for others to reproduce the error

  1. Open the first Blender instance and wait until it is loaded
  2. Middle Mouse button the Blender Icon in the taskbar at the bottom of the screen
  3. Nothing happens
**System Information** Operating system: Windows-10-10.0.19042-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3070 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.89 **Blender Version** Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: `f1cca30557` Worked: 2.93 LTS **Short description of error** You cannot open a new instance by middle mouse clicking on the Blender icon in the taskbar, as it used to be and as other programs behave. **Exact steps for others to reproduce the error** 1. Open the first Blender instance and wait until it is loaded 2. Middle Mouse button the Blender Icon in the taskbar at the bottom of the screen 3. Nothing happens
Author

Added subscriber: @LalaGhost

Added subscriber: @LalaGhost
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Added subscriber: @Harley

Added subscriber: @Harley
Member

Worked: 2.93 LTS

I'm not seeing that this older version, nor any version, behaving as you described. I tried 2.93, 2.91, 2.79

> Worked: 2.93 LTS I'm not seeing that this older version, nor any version, behaving as you described. I tried 2.93, 2.91, 2.79
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Member

I see it.

This is done automagically by the OS if the program that is running also has a shortcut to it. That shortcut can be in the Start Menu, Desktop, or taskbar. If such a shortcut exists then Windows will allow that middle-click to launch a new instance.

However, we are now making shortcuts to the (new) launcher, not the regular executable, which breaks this functionality. I think this might also affect the list of recent documents.

@LazyDodo - The following seems to hint that it is the path to fixing both issues, but not quite understanding it: https://docs.microsoft.com/en-us/windows/win32/shell/appids

I see it. This is done automagically by the OS if the program that is running **also** has a **shortcut** to it. That shortcut can be in the Start Menu, Desktop, or taskbar. If such a shortcut exists then Windows will allow that middle-click to launch a new instance. However, we are now making shortcuts to the (new) launcher, not the regular executable, which breaks this functionality. I think this might also affect the list of recent documents. @LazyDodo - The following seems to hint that it is the path to fixing both issues, but not quite understanding it: https://docs.microsoft.com/en-us/windows/win32/shell/appids

Added subscriber: @deadpin

Added subscriber: @deadpin

Probably related: #93772

Probably related: #93772
Ray molenkamp self-assigned this 2021-12-15 04:51:03 +01:00
Member

With some manual hacking in the registry i managed to get the history working again, need to find a way to neatly register this from blender though.

With some manual hacking in the registry i managed to get the history working again, need to find a way to neatly register this from blender though.
Member

Chromium code to do with these app ids: 151b8e5d39/ui/base/win/shell.cc (L117)

Chromium code to do with these app ids: https://github.com/nwjs/chromium.src/blob/151b8e5d39b7edcf9eed78ebedf3b4eae9f93d28/ui/base/win/shell.cc#L117

Added subscriber: @EmmanuelLORANT

Added subscriber: @EmmanuelLORANT

I reported the same thing here : #93994 and I solved it like this :

  • The first time I want to add a shortcut, I used the shortcut in the Start Menu and right-click on it : add to Taskbar.
  • I opened Blender with this new icon, deleted this new icon and right-clicked on the icon created by the opened .blend file and then clicked on "Add to Taskbar" and it works.
I reported the same thing here : #93994 and I solved it like this : - The first time I want to add a shortcut, I used the shortcut in the Start Menu and right-click on it : add to Taskbar. - I opened Blender with this new icon, deleted this new icon and right-clicked on the icon created by the opened .blend file and then clicked on "Add to Taskbar" and it works.
Contributor

Added subscriber: @RedMser

Added subscriber: @RedMser
Member

Looks like this is fixed by 9cf77efaa0

Can someone give another check before closing the report?

Looks like this is fixed by 9cf77efaa06823d2403120701f5c591d5b151d59 Can someone give another check before closing the report?
Member

Confirmed that this issue is fixed in main when the new registration process is run.

This means that this will work as expected if you install with the Windows installer. Or if you install using a zip but then run Edit / Preferences / System / Register.

However it is known to NOT work as expected for Microsoft Store installs as these are sandboxed and don't have the necessary permissions to register in a way to make this feature work.

Confirmed that this issue is fixed in main when the new registration process is run. This means that this will work as expected if you install with the Windows installer. Or if you install using a zip but then run Edit / Preferences / System / Register. However it is known to NOT work as expected for Microsoft Store installs as these are sandboxed and don't have the necessary permissions to register in a way to make this feature work.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-06-14 18:28:24 +02:00
Pratik Borhade added
Status
Resolved
and removed
Status
Archived
labels 2023-06-15 03:45:12 +02: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
7 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#94061
No description provided.