Fennec uses wrong DPI on maemo, shows tablet ui

VERIFIED FIXED in Firefox 9

Status

defect
--
major
VERIFIED FIXED
8 years ago
8 years ago

People

(Reporter: heeen, Assigned: heeen)

Tracking

Trunk
Firefox 9
ARM
Maemo

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

Posted patch override DPI on maemo (obsolete) — Splinter Review
Maemo needs a manual override to 240DPI to be usable because its X11 lies about that.
This bug was introduced by changes from bug 658319.
Comment on attachment 559951 [details] [diff] [review]
override DPI on maemo

> #ifndef MOZ_PLATFORM_MAEMO
> // On desktop builds, simulate an MDPI tablet by default.
> pref("layout.css.dpi", 160);
>+#elsif
>+// Maemo X11 lies about its dpi
>+pref("layout.css.dpi", 240);
> #endif

"#elsif" should be just "#else" here.
Attachment #559951 - Attachment is patch: true
my bad
Attachment #559951 - Attachment is obsolete: true
Attachment #559955 - Flags: review?(mbrubeck)
Attachment #559955 - Flags: review?(mbrubeck) → review+
https://hg.mozilla.org/mozilla-central/rev/ee3f64275f28
Assignee: nobody → florian.haenel
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 9
Build ID: Mozilla/5.0 (Maemo; Linux armv7l; rv:9.0.a2) Gecko/20111019 Firefox/9.0a2 Fennec/9.0a2
Device: Nokia N900

In about:config, preference: layout.css.dpi=240
Marking bug VERIFIED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.