From Fedora Project Wiki

 
(2 intermediate revisions by 2 users not shown)
Line 101: Line 101:
| [[User:juliuxpigface|juliuxpigface]]
| [[User:juliuxpigface|juliuxpigface]]
| {{result|warn}} <ref>qt5: {{bz|1318779}} | qt4: {{bz|1318790}}</ref>
| {{result|warn}} <ref>qt5: {{bz|1318779}} | qt4: {{bz|1318790}}</ref>
| {{result|inprogress}}
| {{result|warn}} <ref>qt5: {{bz|1318802}}</ref>
| {{result|inprogress}}
| {{result|warn}} <ref>{{bz|1318787}} (need to restart the qt apps)</ref>
| <references/>
|-
| [[User:jsedlak|jsedlak]]
| {{result|fail}} <ref>KMail uses Adwaita theme, but crashed on closing (not sure if it's Qt GTK integration-related) {{bz|1319722}}. KCalc doesn't start at all {{bz|1319737}}.</ref>
| {{result|none}}
| {{result|none}}
| <references/>
| <references/>
|-
|-

Latest revision as of 11:58, 21 March 2016

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?[edit]

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

Who's available[edit]

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

Prerequisite for Test Day[edit]

    • 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

How to test?[edit]

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

Test Cases[edit]

  • 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


Known Issues[edit]

  • 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

Test Results[edit]

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.