From Fedora Project Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
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 14: Line 16:
== What to test? ==
== What to test? ==


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


== Who's available ==
== Who's available ==
Line 20: Line 22:
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:Pschindl|Petr Schindler]]
* Quality Assurance - [[User:Tester1|Tester1]] (irc_nick3), [[User:Tester2|Tester2]] (irc_nick4), [[User:Tester3|Tester3]] (irc_nick5)


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


** Any fully-updated Fedora Workstation 24 system ([https://kojipkgs.fedoraproject.org/compose/24/ nightly build] / alpha / beta / rc / final)
List any prerequisite needs for the test event.  A fresh system, virtualized guest, a blank DVD ... a desire to break software?
** These packages installed (in most recent F24 versions should be installed by default):
 
*** adwaita-qt4
* Usb key
*** adwaita-qt5
* Usb externally connected HD IDE/SATA
*** qgnomeplatform (at least <code>qgnomeplatform-0.1-4.fc24</code> required, available [http://koji.fedoraproject.org/koji/buildinfo?buildID=745629 here])
* Empty HD IDE/SATA/SCSI
** Set QGnomePlatform to be used by setting QT_QPA_PLATFORMTHEME to 'qgnomeplatform' (e.g. <code>export QT_QPA_PLATFORMTHEME='qgnomeplatform'</code>)
* Free space on HD
*** 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
Here's a chunk which is commonly used for most Test Days. Replace XX with whatever Fedora release is pending:
 
* An updated [http://fedoraproject.org/get-prerelease Fedora XX pre-release], [[Releases/Rawhide|Rawhide]] (tips on installing Rawhide below), or a [http://alt.fedoraproject.org/pub/alt/nightly-composes/desktop/ nightly live image]


== How to test? ==
== How to test? ==
Install a suitable Fedora Workstation 24 and verify test cases below.


== Test Cases ==
High level details on how a contributor can get involved.  This can include (but not limited to):
 
* Areas to target with exploratory testing
* A list of pre-defined test cases to execute
* How to report back results
 
Here's another common chunk (again, replace XX as above):


* Test of theme adoption:
=== '''Update your machine''' ===
** 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:
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:
** 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:
=== '''Live image''' ===
** 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


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].


== Known Issues ==
== Test Cases ==
* Qt applications don't use dark theme (support for adwaita-qt dark version is in progress)
** https://github.com/MartinBriza/QGnomePlatform/issues/2


* Font scaling doesn't work properly in Qt applications
Provide a list of test areas or test cases that you'd like contributors to execute.  For other examples, see [[:Category:Test_Cases]].
** 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 ==
== 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|Theme]]
! [[QA:Testcase_sample_1|Sample test 1]]
! [[QA:Testcase_sample_2|Font]]
! [[QA:Testcase_sample_2|Sample test 2]]
! [[QA:Testcase_sample_3|Scaling]]
! [[QA:Testcase_sample_3|Sample test 3]]
! [[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/>
|-
|-
Please note that all contributions to Fedora Project Wiki are considered to be released under the Attribution-Share Alike 4.0 International (see Fedora Project Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please solve the following task below and enter the answer in the box (more info):

Cancel Editing help (opens in new window)