Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And why is mouse/keyboard and stylus support so bad on mobile? Most of the normal browsing hotkeys don't work, even though people can use that setup a good bit with tablets and foldables.


Feel free to implement this in HomeActivity::onKeyDown. (https://github.com/mozilla-mobile/firefox-android/blob/ce68e...).

Check for the appropriate modifiers on your key event + R, and call components.useCases.sessionUseCases.reloadUrl().

Why is it so bad ? Because noone uses a keyboard on mobile. Because if they had spent time implementing any other features that are used by 0.0001% of users, you'd have been complaining that Mozilla is wasting their money on not making a better browser.


Web developers are, indeed a tiny fraction of the overall userbase for web browsers. Why browser makers might want to cater to their needs anyway is left as an exercise for the reader.


Why browser makers might not want to cater to web developers wanting to use a keyboard on a platform that is used at 99.9% through touch controls, platform on which we both know they neither develop on (when is the last time you made a website on your tablet?) or even test on, is indeed left as an exercise for the reader.


Testing websites on actual mobile devices is generally advisable. Testing them in a niche browser, perhaps not so much, but more people will if that browser makes it easy.


Tablets often come with keyboards.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: