Bug 462983 - [Android] Qt buttons are arranged incorrectly in Krita's Android version
Summary: [Android] Qt buttons are arranged incorrectly in Krita's Android version
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: Usability (other bugs)
Version First Reported In: nightly build (please specify the git hash!)
Platform: Android Android 13.x
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-13 02:38 UTC by Tyson Tan
Modified: 2022-12-13 08:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Qt buttons on Krita's Androids version (147.08 KB, image/png)
2022-12-13 02:39 UTC, Tyson Tan
Details
Qt buttons on Krita's Appimage version (110.94 KB, image/png)
2022-12-13 02:39 UTC, Tyson Tan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tyson Tan 2022-12-13 02:38:23 UTC
Qt buttons in Krita's Android version are not arranged correctly. These are the buttons like "OK", "Cancel", "Default" that displayed on the buttom-right corner of a dialogue. Because their translations seem to come from Qt, I call them "Qt buttons".

Normally, these buttons should be arranged with "OK" on the left, "Cancel" on the right, and such. However, their arrangement is reversed in the Android version, with "Cancel" on the left, "OK" on the right. This is a small thing, but contributes to mistakes more than I expected.

A similar issue happened a few years ago with the appimages, but it has been fixed since. I suppose it should be fixable on Android version too?
Comment 1 Tyson Tan 2022-12-13 02:39:02 UTC
Created attachment 154548 [details]
Qt buttons on Krita's Androids version

Qt buttons on Krita's Androids version are arranged reversely.
Comment 2 Tyson Tan 2022-12-13 02:39:47 UTC
Created attachment 154549 [details]
Qt buttons on Krita's Appimage version

Qt buttons on Krita's Appimage version where they are arranged correctly.
Comment 3 Halla Rempt 2022-12-13 07:41:59 UTC
The order of dialog buttons varies from platform to platform. We cannot influence that from within our code; it's up to Qt to decide which order to use on which platform.
Comment 4 Alvin Wong 2022-12-13 08:23:59 UTC
See https://doc.qt.io/qt-5/qdialogbuttonbox.html#details