Did you search for similar issues before submitting this one?
Yes
Describe the issue you encountered:
Unable to open private tab using keyboard shortcut from a PDF tab. When Ctrl+Shift+P is pressed it opens print dialogue instead of launching a private tab
Expected behavior:
Should open a new private tab
Also seeing this on mac osX El Capitan, for brave v 0.13.4
+1 from #11112
I would like to work on this issue
@sergiorojasa awesome! Go for it 馃槃 I've assigned the issue to myself so that nobody will grab it. Let us know if you need any help
I found the newPrivateTab keyboard shortcut in app/common/commonMenu.js
and I reproduced the issue on my computer, but I not sure if the issue is in brave/pdf.js repository or brave/browser-laptop repository because when the browser loads a pdf the pdf.js extension logic is loads
I found out when a user press ctrl+shift+p the pdf chrome extension code execute the print method.
@bsclifton on line 273 - 278 is where the code executes the print command Click to view the pdf.js repository pdf_print_service.js
@bsclifton I was not sure how to do the pull request for this issue, on this repository or brave/pdf.js repository so I did a pull request on brave/pdf.js repository.
this will be fixed whenever https://github.com/brave/pdf.js/pull/4 is merged into master and @bsclifton does a pdf.js release :).
@bsclifton should we add to any milestone this one?
@NejcZdovc good catch- yes... we are fixing this with 0.22.x release 3. Will set accordingly
Verified on Ubuntu 17.10 x64
Verified with macOS 10.12.6 using
Verified on Windows x64