From Fedora Project Wiki
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 test


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.

What to test?

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

Who's available

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

Prerequisite for Test Day

    • Any Fedora Workstation 24 image (nightly build / alpha / beta / rc / final) with "dnf -y update" run
    • Installed packages (in most recent F24 versions should be installed by default):
      • adwaita-qt4
      • adwaita-qt5
      • qgnomeplatform
    • 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.20 this step shouldn't be required as this property should be already set by gnome-session

How to test?

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

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

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