Candidate window is overlapped into composition string on GTK3 with HiDPI

RESOLVED FIXED in Firefox 42

Status

()

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: m_kato, Assigned: m_kato)

Tracking

({inputmethod})

Trunk
mozilla42
x86_64
Linux
inputmethod
Points:
---

Firefox Tracking Flags

(firefox42 fixed)

Details

Attachments

(1 attachment, 1 obsolete attachment)

When using HiDPI + GTK 3.16, candidate window is overlapped into composition string.

- Env
GNOME/GTK 3.16
ibus-mozc 1.5.10

- Step
1. Launch Firefox with GDK_SCALE=2
2. Focus awesome bar
3. Input あああ using mozc

- Result
Candidate window is overlapped into composition string.
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
This is 2 issues
- GTK API for window returns logical pixel, but GtkIMModule doesn't consider it.
- Framework bug
 - fcitx -> https://github.com/fcitx/fcitx/issues/211
 - ibus -> not filed yet.
Created attachment 8631448 [details] [diff] [review]
Use logical pixel instead
Assignee: nobody → m_kato
Attachment #8631448 - Attachment is obsolete: true
Created attachment 8638455 [details] [diff] [review]
Use logical pixel to set IME candidate window
Comment on attachment 8638455 [details] [diff] [review]
Use logical pixel to set IME candidate window

Calculate correct unit for HiDPI
Attachment #8638455 - Flags: review?(karlt)
Attachment #8638455 - Flags: review?(karlt) → review+
url:        https://hg.mozilla.org/integration/mozilla-inbound/rev/1eb0af29f4c6bafe669e17ca1d85fb80b9004514
changeset:  1eb0af29f4c6bafe669e17ca1d85fb80b9004514
user:       Makoto Kato <m_kato@ga2.so-net.ne.jp>
date:       Mon Jul 27 14:37:02 2015 +0900
description:
Bug 1181000 - Use logical pixel to set IME candidate window. r=karlt
https://hg.mozilla.org/mozilla-central/rev/1eb0af29f4c6
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox42: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.