View page source not always works
-
I'm not sure if this is a bug or the way browser was developed to work, but I find view source code (or simply CTRL+U) not always works. If some page auto "focuses" mouse pointer on form's input field right after loading, CTRL+U doesn't work. The workaround is to manually move mouse pointer outside the form, left-click, and then CTRL+U starts working again.
You can reproduce it easily (even if page doesn't focus pointed on form) - go to any page that has form, click on any field in the form, and try using CTRL+U - it won't work. As soon as you move mouse outside the form (don't forget to click some empty space), viewing source becomes available again.
-
Makes some sense, but it's very weird, as I don't know any other browser which blocks viewing source when mouse pointer is focused on forms...
-
@Gwen-Dragon Clearly it requires a more sophisticated workaround than just disabling all (or most) of the keyboard shortcuts whenever an input field is focused. If other browsers (I checked Opera 42) can do that, then Vivaldi could do that too...
-
I see it as a normal behaviour, if input/text fields are focused, the vivaldi ui shortcuts should not be triggered, but instead act as they should in a text field, many complained already when Vivaldi reacted on backspace or other ctrl-key shortcuts even if text field is in focus, so it's better it stays this way.
-
@iAN-CooG I disagree. The "common" keyboard shortcuts (like backspace, CTRL+Z etc.) shouldn't perform any browser actions when the input field is focused - that's true. But any "unusual" shortcuts (like CTRL+U for example) shouldn't be arbitrarily disabled if they're not assigned any action by the website. IMO disabling all shortcuts is the easiest and at the same time the worst possible solution - it's just throwing the baby out with the bathwater.
-
We can agree to disagree, but I see it as more of a problem if it would react where it shouldn't. Nobody is going to die if to get the ctrl-key shortcut working mouse or tab to unfocus the text field has to be pushed. If Vivaldi Team can even provide a working solution, the better, as of now I'm ok if it stays like this.
-
I see a possible fix can be applied super easily: if such a shortcut is "reserved" for visual text editors to underline text, browser can simply check if this field is textarea or not. If it's textarea, shortcut can remain reserved. If it's input, view source should start working (because all the visual editors I saw only use textareas).
-
@toxpal
I find on some pages that Ctrl+U opens the window to view the source, but a whole block of code may be missing entirely! I found it MUCH more useful with the original Opera that Ctrl+U opened the file in a text editor - which with Textpad meant I could check the HTML with CSE HTML Validator by just doing a Ctrl+0. No messing about copying/pasting/saving as! -
Ppafflick unlocked this topic on
-
Ppafflick moved this topic from Vivaldi for Windows on