Project

General

Profile

Actions

Bug #3249

open

Ctrl+Click on Mac trackpad not interpreted as Right Click

Added by Cynthia Donato almost 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
06/02/2014
Due date:
% Done:

0%

Estimated time:

Description

In my code and on the treeview-dragdrop example on your website I am unable to see the context menu on the subfolders in the sandbox treeview when using a Mac laptop.

To repro:

Trying to right click on a Mac laptop using the Ctrl + Click method. It seems WMouseEvent(event.button()) comes back as WMouseEvent::LeftButton rather than WMouseEvent::RightButton on both Safari and Chrome.

This issue does not seem to exist in Firefox.

Additionally, the item in the model is unselected.

In my code I've tried to combined both (event.button() WMouseEvent::LeftButton && event.modifiers() Wt::ControlModifier) to work around the problem for Mac but the issue still remains that my selected item is being unselected.

Any ideas how to get around this? It's important that my selected item remains selected after the right click happens.

thanks in advance,

Cyn

No data to display

Actions

Also available in: Atom PDF