Fonts in web view are extremely small

Bug #1169989 reported by Cris Dywan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Triaged
High
Unassigned

Bug Description

I'm using web views to show text content as well as HTML. For both the default fonts are extremely small and unreadable.

I tried "experimental.preferences.minimumFontSize: units.dp(24)" for a work-around, which obviously isn't a longterm solution.

Revision history for this message
Cris Dywan (kalikiana) wrote :
Revision history for this message
Florian Boucault (fboucault) wrote :

On what device are you testing?

Revision history for this message
Cris Dywan (kalikiana) wrote :

This is on a 1366x768 96dpi laptop.

Changed in ubuntu-ui-toolkit:
importance: Undecided → High
Revision history for this message
Tim Peeters (tpeeters) wrote :

the qml code attached is a mess, here is the fixed code:

import QtQuick 2.2
import Ubuntu.Components 1.1
import QtWebKit 3.0

MainView {
    width: units.gu(60)
    height: units.gu(80)
    Page {
        title: "Example"
        Row {
            id: splitView
            property string html: "file:///usr/share/ubuntu-ui-toolkit/doc/html/overview-ubuntu-sdk.html"
            anchors.fill: parent
            WebView {
                width: parent.width / 3
                height: parent.height
                url: splitView.html
            }
        }
    }
}

Revision history for this message
Tim Peeters (tpeeters) wrote :

how is the webbrowser-app currently dealing with this?

Changed in ubuntu-ui-toolkit:
status: New → Confirmed
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
status: Confirmed → Triaged
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → High
status: New → Triaged
Zoltan Balogh (bzoltan)
no longer affects: ubuntu-ui-toolkit
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.