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

Summary: SDL_SetTextInputRect fails when Ubuntu "Scale for menu and title bars" is higher than 1
Product: SDL Reporter: hqm03ster
Component: eventsAssignee: Ryan C. Gordon <icculus>
Status: ASSIGNED --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.4   
Hardware: x86_64   
OS: Linux   

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.