Keyboard Shortcuts should not work in some cases but they work!
-
When I'm writing a post into a forum (e.g. vBulletin 4 or phpBB) I'm using some keyboard shortcuts to format text. For example Ctrl+B to make text bold (to add [b][/b] code). But now in Vivaldi I have to disable Ctrl+B keyboard shortcut, because it will open Bookmark page even if text editor is focused.
The more horrible thing: when I'm changing text color, size or font in vBulletin forum's editor, after that if I want to delete some text via Backspace, Vivaldi goes back to the previous page. This is really really bad. I have removed Backspace too from Vivaldi's shortcuts. This makes Vivaldi unusable with Backspace hotkey, because even if I can use Bold button on text editor instead of Ctrl+B, I can't use anything else instead of Backspace key.
Watch this video to view both problems:
https://youtu.be/ZSBBRZWFoA0Old Opera (Opera 12) or Mozilla Firefox also use Ctrl+B for bookmarks and Backspace to go back, but both shortcuts does not work when forum's text editor is focused.
-
@RRR13 said in Keyboard Shortcuts should not work in some cases but they work!:
@RammsteinAM This backspace problem sounds very familiar. It's a bug that has been discussed quite a few times in the forums.
It should have been fixed by now. What version of Vivaldi do you use?I'm using the latest version - 1.5.658.44 (32 bit) on Windows 10 x64.
Previously I had disabled single key Keyboard shortcuts to solve Backspace problem, but that's not a good solution.@RRR13 said in Keyboard Shortcuts should not work in some cases but they work!:
About ctrl+b I can only help you with the workaround: you can assign a special toggle keyboard shortcut to disable/enable all keyboard shortcuts (except the special one, of course) in Vivaldi. You can do this before editing stuff in a complex editor like that and you can reenable the keyboard shortcuts after you are done using the complex editor.
Sure I know about that feature. But that will make my browsing harder instead of making it easier. I will have to remember to turn it on and off every time.
@RRR13 said in Keyboard Shortcuts should not work in some cases but they work!:
I don't see how this problem could be solved automatically in a satisfactory fashion. For example, I would be completely pissed if I would be on a page editing something like you said and the browser would not respond to my keyboard combinations for closing tabs or showing bookmarks or whatever else because the page stole them.
However, the backspace thing should NOT happen. That is a big problem.
Of course browser MUST respond to most keyboard shortcuts even if you are writing a text on a webpage, but NOT to all shortcuts.
E. g. I'm writing this post right now and I am still able to use Ctrl+W to close the tab, Ctrl+H to open history, Ctrl+T to open new tab etc. BUT I cannot use Ctrl+Z right now to reopen previous tab and this behavior is correct, because I'm typing a text and Ctrl+Z SHOULD perform undo command in the text field.Same thing with Ctrl+B on other websites. If website developers decided that text area should take Ctrl+B shortcut, browser have to give it to the text area. Presto Opera also have a lot of keyboard shortcuts, including single key shortcuts, but I don't remember such bugs there.
-
@RRR13
I have 7 browsers installed.
5 of them Opera 12, Opera 41, Mozilla Firefox, Internet Explorer and Vivaldi use Ctrl+B as hotkey to open bookmarks (Opera 41 - to bookmark the page).
4 of these browsers - Opera 12, Opera 41, Mozilla Firefox, Internet Explorer allow websites to override Ctrl+B if the pages (like vBulletin or phpBB forums) want to use it in their text areas. None of these 4 browsers perform their own shortcut action for Ctrl+B while such text areas are focused.
Do you think this is wrong?Only Vivaldi performs both operations - website's shortcut and browser's shortcut together. Definitely this is not normal.
If I'm not mistaken, there is a JavaScript which is forcing the browser to give the keyboard shortcut to the website. If that's not happening, IMHO it means that the web page is not rendered correctly.
So, I'm sure this is a bug and should be fixed as soon as possible.
@RRR13 said in Keyboard Shortcuts should not work in some cases but they work!:
No!
Website developers should not have more authority than me over how my browser reacts to keyboard shortcuts; what if the website developers want to use Ctrl+T or Ctrl+W for something?Maybe some "not very professional" developers would write such scripts in the wrong place, but that does not mean that browser should prevent it by "ignoring" some JavaScript which works on any other browser.
A good example: In some webpages the Right-click menus are missing (generally in the websites which try to prevent visitors from copying the content). Sometimes that annoys me. But all normal browsers allow such script to run and block context menu, and if one browser will decide to ignore such script and show context menu despite everything, that will be horrible. Some websites in that browser will lose their functionality (websites like Google Drive which have their own context menu), some online games won't work correctly, where right click is reserved, like this game.
-
@RammsteinAM said in Keyboard Shortcuts should not work in some cases but they work!:
If I'm not mistaken, there is a JavaScript which is forcing the browser to give the keyboard shortcut to the website. If that's not happening, IMHO it means that the web page is not rendered correctly.
So, I'm sure this is a bug and should be fixed as soon as possible.I don't know if it is Javascript or just detection of "text field" which does this.
But Javascript should NOT be given control, thats what happened before browsers implemented "prevent unwanted pop-ups"
-
@RRR13 said in Keyboard Shortcuts should not work in some cases but they work!:
Absolutely! It is wrong. I never liked it, not even when using old Opera.
OK. Our opinions are slightly different.
@RRR13 said in Keyboard Shortcuts should not work in some cases but they work!:
Well, no, THAT doesn't mean the browser should prevent it. The fact that the user activates such a feature in a browser is what means the browser should prevent it.
So you agree that performing BOTH actions with one keyboard shortcut is not correct.
To me it will be OK, if there will be a checkbox, to allow/deny websites to override browser keyboard shortcuts. But in current situation I think that Vivaldi should perform one or the other operation, not both at once. And as I said, I prefer the override version.@RRR13 said in Keyboard Shortcuts should not work in some cases but they work!:
As a counter example to your narrative, I will mention the very popular browser option in mobile browsers to override the zoom restriction some websites impose.
Do you think that is a bad feature because you consider the web page is not rendered correctly?
Personally, I love it and it is one of the first things I search for in a browser's settings.No, I don't think that's bad. I had not tried lot of mobile browsers, just few of them and generally I'm using Opera. It has that feature as an option which can be turned on and off. Same thing about keyboard shortcuts. As I wrote above, I have nothing against it if it (to always perform browser hotkey actions) would be an additional option, not forced.
-
I recently reported an issue with single-key shortcuts used in the panels. When typing a note there si no problem, but when filing a bug report to Vivaldi, all of the shortcut keys do two things: type the lletter, and perform the assigned command. I have these shortcut keys assigned:
/ = find in page
1 = previous tab
2 = next tab
b = toggle bookmarks panel
d = toggle downloads panel
g = Google mail panel
n = toggle notes panel
s = toggle status bar
t = Google translate panel
Shift Insert = Import BookmarksAs you can imagine, it makes it hard to report bugs using the Web Panel.
(VB-23556) Shortcuts Stolen if Typing in Panel
-
Ppafflick moved this topic from Vivaldi for Windows on