- 
    Bug 
- 
    Resolution: Done
- 
    P2: Important 
- 
    4.6.3, 4.7.1, 4.8.2, 5.1.0 , 5.9.7, 5.11.2, 5.12
- 
    OSX / macOS
- 
        
- 
        b5eb850e0deb61ff71e26a5a2d0e070b91306aa2 ecb25dac6894cf3e9169528d56adbe92eb1182b9
- 
        Bug Fixing Week Q2/2020
[Regression from 5.3(?)]
Standard shortcuts does not work on native QFileDialog
When using NewFolder, GotoFolder (Cmd+Shift+G), the opened subdialog does not accept shortcuts : Cmd+C, Cmd+V, Ctrl+A, Ctrl+E, ...
To reproduce :
- compile the attached code
- Cmd+O for File|Open
- click NewFolder
- copy a string to the clipboard (from a Terminal, TextEdit, ...)
- try top paste it in the subdialog using Cmd+V ... it does not work
- navigation on the lineedit does not accept Ctrl+A, Ctrl+E, ... either
- using the context menu for pasting works
- same thing for the goto folder command : Cmd+Shift+G does not accept Cmd+C, Cmd+V, Ctrl+A, Ctrl+E, ...
The issue seems related/correlated to QTBUG-16943
- is duplicated by
- 
                    QTBUG-98518 Bad usability of QFileDialog -         
- Reported
 
-         
- 
                    QTBUG-16943 [Regression] Cut/Copy/Paste/Undo broken on OS X dialogs when using foreign input method. -         
- Closed
 
-         
- is required for
- 
                    QTBUG-44654 Issues to be fixed before Qt 5.5 RC -         
- Closed
 
-         
- relates to
- 
                    QTBUG-59398 Mac: QPrintDialog blocks shortcuts (cmd+v, cmd+a, etc.) -         
- Open
 
-         
- 
                    QTBUG-8453 Cocoa QFileDialog - cmd + A does not select all on Native dialog. -         
- Closed
 
-         
- 
                    QTBUG-40181 Menu Merge feature on OSX has different behavior on Qt 5.3.1 from Qt 5.2.1; Not backwards compatible. -         
- Closed
 
-         
- 
                    QTBUG-61141 [macOS] improve the docs for standard menu items -         
- Closed
 
-         
- replaces
- 
                    QTBUG-35634 Native Mac QFileDialog "Go to the folder:" dialog doesn't recognize Cmd+V. -         
- Closed
 
-         
| For Gerrit Dashboard: QTBUG-17291 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 82151,7 | WIP: OSX: added several menuitem roles to support special usage in dialogs | stable | qt/qtbase | Status: ABANDONED | 0 | 0 | 
| 82254,5 | Cocoa plugin: streamline menu role detection | stable | qt/qtbase | Status: ABANDONED | +2 | 0 | 
| 82404,7 | OSX: add several menuitem roles to support menu shortcuts in dialogs | stable | qt/qtbase | Status: MERGED | +2 | 0 | 
| 82902,2 | OSX: add info about how Edit menu items are reused in dialogs | stable | qt/qtdoc | Status: MERGED | +2 | 0 | 
| 88833,1 | Cocoa plugin: streamline menu role detection | dev | qt/qtbase | Status: ABANDONED | 0 | 0 | 
| 113236,2 | Linguist: do not override the roles of Edit menu items | 5.5 | qt/qttools | Status: MERGED | +2 | 0 | 
| 113245,5 | QCocoaMenu: return YES if we have a shortcut for a pseudo-first responder | 5.5 | qt/qtbase | Status: MERGED | +2 | 0 | 
| 114833,3 | QCocoaMenu: Fix crash with 10.7 QFileDialog shortcuts | 5.5 | qt/qtbase | Status: MERGED | +2 | 0 | 
| 227101,3 | Cocoa Menus: Refactor QCocoaMenuItem::sync() | dev | qt/qtbase | Status: MERGED | +2 | 0 |