Test Day:2016-03-17 Qt Gtk Integration

From FedoraProject

Jump to: navigation, search
Fedora Test Days
Echo-testing-48px.png
Qt&Gtk

Date 2016-03-17
Time all day

Website QA/Fedora_14_test_days
IRC #fedora-test-day (webirc)

Mailing list
MailSubscribeArchives


Note.png
Can't make the date?
If you come to this page before or after the test day is completed, your testing is still valuable, and you can use the information on this page to test, file any bugs you find at Bugzilla, and add your results to the results section. If this page is more than a month old when you arrive here, please check the current schedule and see if a similar but more recent Test Day is planned or has already happened.

Contents

[edit] What to test?

Today's instalment of Fedora Test Day will focus on integration of Qt applications in Fedora Workstation (Gnome Shell).

[edit] Who's available

The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...

[edit] Prerequisite for Test Day

    • Any fully-updated Fedora Workstation 24 system (nightly build / alpha / beta / rc / final)
    • These packages installed (in most recent F24 versions should be installed by default):
      • adwaita-qt4
      • adwaita-qt5
      • qgnomeplatform (at least qgnomeplatform-0.1-4.fc24 required, available here)
    • Set QGnomePlatform to be used by setting QT_QPA_PLATFORMTHEME to 'qgnomeplatform' (e.g. export QT_QPA_PLATFORMTHEME='qgnomeplatform')
      • Note, that exporting this property affects only current terminal session, but you can also put the command above to your .bashrc file to set it globally
      • In Gnome 3.19 and higher this step shouldn't be required as this property should be already set by gnome-session, but it's better to check that

[edit] How to test?

Install a suitable Fedora Workstation 24 and verify test cases below.

[edit] Test Cases

  • Test of theme adoption:
    • Make sure you run Fedora Workstation (GNOME) and have all required packages installed
    • Install any Qt4 app (e.g. Kmail) and any Qt5 app (e.g. Kcalc)
    • Run the application and observe the look
    • The look and feel should be similar to GTK apps with Adwaita theme. The frameworks are different with different UI elements, so the look and feel will never be the same, but should be fairly similar
  • Test of font config:
    • Make sure you run Fedora Workstation (GNOME) and have all required packages installed
    • Install GNOME Tweak Tool 2. Install any Qt4 app (e.g. Kmail) and any Qt5 app (e.g. Kcalc)
    • Make changes in font settings (font family, size) and check if the font actually changes in Qt4 and Qt5 apps (you may need to restart the apps for the changes to take effect)
    • The expected result is that Qt4 and Qt5 apps reflect changes in GNOME font settings
  • Test of scaling:
    • Make sure you run Fedora Workstation (GNOME) and have all required packages installed
    • Install GNOME Tweak Tool
    • Install any Qt4 app (e.g. Kmail) and any Qt5 app (e.g. Kcalc)
    • Go to the Windows section in GNOME Tweak Tool and change window scaling to 2
    • Windows of Qt apps should also be scaled by 2


[edit] Known Issues

  • Font scaling doesn't work properly in Qt applications
    • we have some difficulties in implementing same font scaling in Qt as in Gnome, right now the font in Qt applications is noticeably bigger when using font scaling in Gnome

[edit] Test Results

If you have problems with any of the tests, report a bug to Bugzilla for the component QGnomePlatofrm in case of font or scaling issue, or adwaita-qt in case of a problem with adwaita theme for Qt applications. If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you. Once you have completed the tests, add your results to the Results table below, following the example results from the first line as a template. The first column should be your name with a link to your User page in the Wiki if you have one. For each test case, use the result template to enter your result, as shown in the example result line.

User Theme Font Scaling References
Sample User
Pass pass
Warning warn
[1]
Fail fail
[2]
  1. Test pass, but also encountered RHBZ #54321
  2. RHBZ #12345
Renault
Pass pass
Pass pass
Pass pass
kparal
Fail fail
[1]
none
none
  1. RHBZ #1318707
PhilipPirrip
Fail fail
[1]
Fail fail
[2]
Fail fail
[3]
  1. QSpinBox RHBZ #1318779 QComboBox RHBZ #1318782
  2. HiDPI - all fonts too small RHBZ #1318787
  3. HiDPI - window scaling has no effect RHBZ #1318787
juliuxpigface
Warning warn
[1]
Warning warn
[2]
Warning warn
[3]
  1. qt5: RHBZ #1318779 | qt4: RHBZ #1318790
  2. qt5: RHBZ #1318802
  3. RHBZ #1318787 (need to restart the qt apps)
jsedlak
Fail fail
[1]
none
none
  1. KMail uses Adwaita theme, but crashed on closing (not sure if it's Qt GTK integration-related) RHBZ #1319722. KCalc doesn't start at all RHBZ #1319737.