[Ubuntu-webapps-bugs] [Bug 1336730] Re: On Nexus 7, viewport{Width, Height} and content{Width, Height, X, Y} are not integers and do not add up correctly
** Changed in: oxide Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu WebApps bug tracking, which is subscribed to Oxide. https://bugs.launchpad.net/bugs/1336730 Title: On Nexus 7, viewport{Width,Height} and content{Width,Height,X,Y} are not integers and do not add up correctly Status in Oxide Webview: Fix Released Bug description: Since revision 619 of lp:oxide, a flickable-like API was added to the QML WebView, with viewport{Width,Height} and content{Width,Height,X,Y} properties (see bug #1330511). This works well on desktop where the device scale factor and page scale factor are 1, but on Nexus 7 where the device scale factor is 2.25 and the page scale factor can be any floating point number between 1.0 and 5.0, I’m seeing two issues: - viewport{Width,Height} doesn’t match the webview’s dimensions: I’m getting e.g. 1200.56311 × 1862.000236082 where the webview’s dimensions are 1200 × 1862 (all values in device pixels). Rounding the values does the trick. - If we subtract the maximum value of content{X,Y} from content{Width,Height}, we should obtain viewport{Width,Height} (or at least a value very close to 0.0 due to rounding issues), but I’m sometimes seeing a difference > 1.0. This seems to be a consequence of the above. Applying a corrective factor of [round(viewport{Width,Height}) / viewport{Width,Height}] (values in DIP) to content{Width,Height,X,Y} and rounding the result gets us the expected values. To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1336730/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp
[Ubuntu-webapps-bugs] [Bug 1322152] Re: Compiler warnings in file picker code
** Changed in: oxide Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu WebApps bug tracking, which is subscribed to Oxide. https://bugs.launchpad.net/bugs/1322152 Title: Compiler warnings in file picker code Status in Oxide Webview: Fix Released Bug description: There's a couple of warnings we should probably fix: ../../../../qt/core/glue/oxide_qt_file_picker_delegate.cc: In member function ‘void oxide::qt::FilePickerDelegate::Done(const QFileInfoList&, oxide::qt::FilePickerDelegate::Mode)’: ../../../../qt/core/glue/oxide_qt_file_picker_delegate.cc:83:45: warning: ‘permissions’ may be used uninitialized in this function [-Wmaybe-uninitialized] file_picker_->Done(selection, permissions); ../../../../qt/core/browser/oxide_qt_file_picker.cc: In member function ‘virtual void oxide::qt::FilePicker::Run(const content::FileChooserParams&)’: ../../../../qt/core/browser/oxide_qt_file_picker.cc:56:61: warning: ‘mode’ may be used uninitialized in this function [-Wmaybe-uninitialized] delegate_->Show(mode, title, defaultFileName, acceptTypes); To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1322152/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp
[Ubuntu-webapps-bugs] [Bug 1337389] Re: The prototype to ContentBrowserClient::CanCreateWindow() has changed
** Changed in: oxide Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu WebApps bug tracking, which is subscribed to Oxide. https://bugs.launchpad.net/bugs/1337389 Title: The prototype to ContentBrowserClient::CanCreateWindow() has changed Status in Oxide Webview: Fix Released Status in Oxide 1.1 series: Triaged Bug description: The "is_guest" parameter has been removed, so our implementation is never called. This doesn't break popup blocking though because we also set a preferences on the renderer side to reject them. This is really an extra layer of safety. This was picked up with a build against canary, which seems to enable C++11 (so we get final and override keywords) To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1337389/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp
[Ubuntu-webapps-bugs] [Bug 1323743] Re: keyboard doesn't display in webapps after some time
** Changed in: ubuntu-keyboard Status: In Progress => Fix Released ** Changed in: webbrowser-app Status: In Progress => Fix Released ** Changed in: ubuntu-keyboard (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu WebApps bug tracking, which is subscribed to webbrowser-app. https://bugs.launchpad.net/bugs/1323743 Title: keyboard doesn't display in webapps after some time Status in Oxide Webview: Fix Released Status in Ubuntu Keyboard: Fix Released Status in Web Browser App: Fix Released Status in “ubuntu-keyboard” package in Ubuntu: Fix Released Bug description: using build r48 maliit-framework 0.99.0+git20130615+97e8335-0ubuntu8 ubuntu-keyboard 0.99.trunk.phablet2+14.10.20140515-0ubuntu1 webapp-container 0.23+14.10.20140522.1-0ubuntu1 I don't have the exact steps to reproduce the issue, but have run into a lot over the last few days of using the phone. - launch gmail webapp - launch twitter webapp - try and use both, doing things to cause the osk to display (like sending/replying to email, writing a tweet, etc) - click on links in gmail that cause the browser to be open - all works fine for a while - then do other things on phone, like launch other apps, open the browser app, suspend resume, use the carousel spread to switch between open apps (fast right edge swipe) - phone gets into a state where the osk is no longer displayed in the webapps no matter what you do The only way to get osk back in the webapp is to close the webapp and relaunch it. This fixes the webapp you relaunched but not others that are already open. To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1323743/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp