From Fedora Project Wiki

 
(20 intermediate revisions by 6 users not shown)
Line 9: Line 9:
| fedora_mailing_list = test
| fedora_mailing_list = test
}}
}}
{{admon/warning|Page under construction|This page and the information contained aren't complete. Please come back when the time of this Test Day will come.}}


{{admon/note | 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 [http://bugzilla.redhat.com 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 [[QA/Test_Days|current schedule]] and see if a similar but more recent Test Day is planned or has already happened.}}
{{admon/note | 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 [http://bugzilla.redhat.com 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 [[QA/Test_Days|current schedule]] and see if a similar but more recent Test Day is planned or has already happened.}}
Line 22: Line 20:
The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...
The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...
* Development - [[User:jgrulich|Jan Grulich]] (jgrulich), [[User:mbriza|Martin Bříza]] (mbriza)
* Development - [[User:jgrulich|Jan Grulich]] (jgrulich), [[User:mbriza|Martin Bříza]] (mbriza)
* Quality Assurance - [[User:Tester1|Tester1]] (irc_nick3), [[User:Tester2|Tester2]] (irc_nick4), [[User:Tester3|Tester3]] (irc_nick5)
* Quality Assurance - [[User:Pschindl|Petr Schindler]]


== Prerequisite for Test Day ==  
== Prerequisite for Test Day ==  


** Any Fedora Workstation 24 image (nightly build / alpha / beta / rc / final) with "dnf -y update" run
** Any fully-updated Fedora Workstation 24 system ([https://kojipkgs.fedoraproject.org/compose/24/ nightly build] / alpha / beta / rc / final)
** Installed packages (in most recent F24 versions should be installed by default):
** These packages installed (in most recent F24 versions should be installed by default):
*** adwaita-qt4
*** adwaita-qt4
*** adwaita-qt5
*** adwaita-qt5
*** qgnomeplatform
*** qgnomeplatform (at least <code>qgnomeplatform-0.1-4.fc24</code> required, available [http://koji.fedoraproject.org/koji/buildinfo?buildID=745629 here])
** Set QGnomePlatform to be used by setting QT_QPA_PLATFORMTHEME to 'qgnomeplatform' (e.g. export QT_QPA_PLATFORMTHEME='qgnomeplatform')
** Set QGnomePlatform to be used by setting QT_QPA_PLATFORMTHEME to 'qgnomeplatform' (e.g. <code>export QT_QPA_PLATFORMTHEME='qgnomeplatform'</code>)
*** 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
*** 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
*** 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? ==
== How to test? ==
Install a suitable Fedora Workstation 24 and verify test cases below.
== Test Cases ==


* Test of theme adoption:
* Test of theme adoption:
Line 56: Line 57:
** Windows of Qt apps should also be scaled by 2
** Windows of Qt apps should also be scaled by 2


=== '''Update your machine''' ===


If you're running Fedora XX, make sure you have all the current updates for it installed, using the update manager. If you want to try Rawhide, see the instructions on the [[Releases/Rawhide|Rawhide]] page on the various ways in which you can install or update to Rawhide. Or:
== Known Issues ==
* Qt applications don't use dark theme (support for adwaita-qt dark version is in progress)
** https://github.com/MartinBriza/QGnomePlatform/issues/2


=== '''Live image''' ===
* 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
Optionally, you may download a non-destructive Rawhide live image for your architecture. Tips on using a live image are available at [[FedoraLiveCD]]. Live images can be found [http://alt.fedoraproject.org/pub/alt/nightly-composes/desktop/ here].
 
== Test Cases ==
 
Provide a list of test areas or test cases that you'd like contributors to execute.  For other examples, see [[:Category:Test_Cases]].


== Test Results ==
== Test Results ==
 
If you have problems with any of the tests, report a bug to [https://bugzilla.redhat.com Bugzilla] for the component [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=24&component=qgnomeplatform QGnomePlatofrm] in case of font or scaling issue, or [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=24&component=adwaita-qt 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 [[Template:result|result template]] to enter your result, as shown in the example result line.
Construct a table or list to allow testers to post results.  Each column should be a test case or configuration, and each row should consist of test results. Include some instructions on how to report bugs, and any special instructions. Here's an example, from a Palimpsest test day:
 
If you have problems with any of the tests, report a bug to [https://bugzilla.redhat.com Bugzilla] usually for the component [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=13&component=udisks udisks], or [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=13&component=gnome-disk-utility gnome-disk-utility] for bugs in the Palimpsest graphical front end itself. 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 [[Template:result|result template]] to enter your result, as shown in the example result line.


{|
{|
! User
! User
! [[QA:Testcase_sample_1|Sample test 1]]
! [[QA:Testcase_sample_1|Theme]]
! [[QA:Testcase_sample_2|Sample test 2]]
! [[QA:Testcase_sample_2|Font]]
! [[QA:Testcase_sample_3|Sample test 3]]
! [[QA:Testcase_sample_3|Scaling]]
! [[QA:Testcase_sample_4|Sample test 4]]
! References
! References
|-
|-
| [[User:SampleUser|Sample User]]
| [[User:SampleUser|Sample User]]
| {{result|none}}
| {{result|pass}}
| {{result|pass}}
| {{result|warn}} <ref>Test pass, but also encountered {{bz|54321}}</ref>
| {{result|warn}} <ref>Test pass, but also encountered {{bz|54321}}</ref>
| {{result|fail}} <ref>{{bz|12345}}</ref>
| {{result|fail}} <ref>{{bz|12345}}</ref>
| <references/>
|-
| [[User:Renault|Renault]]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:kparal|kparal]]
| {{result|fail}} <ref>{{bz|1318707}}</ref>
| {{result|none}}
| {{result|none}}
| <references/>
|-
| [[User:PhilipPirrip|PhilipPirrip]]
| {{result|fail}} <ref>QSpinBox {{bz|1318779}} QComboBox {{bz|1318782}}</ref>
| {{result|fail}} <ref>HiDPI - all fonts too small {{bz|1318787}}</ref>
| {{result|fail}} <ref>HiDPI - window scaling has no effect {{bz|1318787}}</ref>
| <references/>
|-
| [[User:juliuxpigface|juliuxpigface]]
| {{result|warn}} <ref>qt5: {{bz|1318779}} | qt4: {{bz|1318790}}</ref>
| {{result|warn}} <ref>qt5: {{bz|1318802}}</ref>
| {{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.