Bug 1590019 - kwordquiz loads only first 20 entries
Summary: kwordquiz loads only first 20 entries
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kwordquiz
Version: 30
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-11 21:41 UTC by Damian Wrobel
Modified: 2019-05-10 20:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-10 20:45:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 365312 0 None None None 2018-06-11 21:41:47 UTC

Description Damian Wrobel 2018-06-11 21:41:47 UTC
Description of problem:
kwordquiz loads only 20 entries from the input file. As a result, user is losing access for remaining entries.

Version-Release number of selected component (if applicable):
kwordquiz-17.12.1-1.fc27.x86_64
kwordquiz-17.12.3-1.fc28.x86_64

How reproducible:
100%

Steps to Reproduce:
1.
2. /usr/share/kwordquiz/examples/french_verbs.kvtml


Actual results:
You will see only 20 first entries.

Expected results:
You should see all (33) entries from the file.

Additional info:
Upstream issue seems to be confirmed since 2016. As my son found kwordquiz quite useful for learning I used the following stopgap in the .spec file for fixing this issue:

 %prep
 %autosetup -p1
+sed -i 's/i<20/i<100/g' src/kwordquiz.cpp

Comment 1 Than Ngo 2018-06-23 09:59:32 UTC
it's fixed in kwordquiz-18.04.2-2.fc29. thanks for your report

Comment 2 Ben Cotton 2019-05-02 21:32:35 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Damian Wrobel 2019-05-06 17:43:45 UTC
(In reply to Ngo Than from comment #1)
> it's fixed in kwordquiz-18.04.2-2.fc29. thanks for your report

Unfortunately, it looks that neither of the following contains the fix:
$ rpm -qv kwordquiz 
kwordquiz-18.12.2-1.fc29.x86_64

$ rpm -qv kwordquiz 
kwordquiz-18.12.3-1.fc30.x86_64

Also, the source code seems to still contains the hardcoded '20' value, see:
https://github.com/KDE/kwordquiz/blob/master/src/kwordquiz.cpp#L488

Comment 4 Rex Dieter 2019-05-10 20:45:31 UTC
Fixed in kwordquiz-18.12.3-2 and newer (raised limit to 100 per the initial comment).

Will likely roll this into a 19.04.1 kde-apps update coming shortly.


Note You need to log in before you can comment on or make changes to this bug.