We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3279 - SDL_SetTextInputRect fails when Ubuntu "Scale for menu and title bars" is higher than 1
Summary: SDL_SetTextInputRect fails when Ubuntu "Scale for menu and title bars" is hig...
Status: ASSIGNED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.4
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-01 06:59 UTC by hqm03ster
Modified: 2017-08-12 04:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hqm03ster 2016-03-01 06:59:26 UTC
SDL_SetTextInputRect puts the IME candidate window at a different location than specified when the "Scale for menu and title bars" value in Ubuntu Display Settings is higher than 1. It seems to have multiplied the scale value to the specified coordinates.

Tested on a 3840x2160 screen in Ubuntu 16.04. The IME in question is ibus-pinyin, which is installed using apt-get.
Comment 1 hqm03ster 2016-03-01 07:01:31 UTC
The SDL used is a manually-built copy of the official 2.0.4 release with ibus support enabled. It's not the one installed from apt-get. I didn't make any custom change.