View Issue Details

This bug affects 2 person(s).
 12
IDProjectCategoryView StatusLast Update
19790Bug reportsSurvey takingpublic2024-10-15 20:46
ReporterBlackSwan Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version6.6.x 
Summary19790: progress bar counts hidden questions
Description

If there are permanently hidden questions, the progress bar will also count these when displaying progress.
For example, in a survey with 5 hidden questions at the start followed by 5 visible questions, the progress bar should not show 60% completed when the first question is displayed.

Steps To Reproduce

Steps to reproduce

Hide the question permanently in question by question mode and check the progress bar.

Expected result

Progress calculated on visible and optionally visible questions (excluding permanently hidden questions).

If there are permanently hidden questions, the progress bar should not count them when displaying progress.
For example, in a survey with 5 hidden questions at the start followed by 5 visible questions, the progress bar should show 20% completed when the first question is displayed.

Actual result

If there are permanently hidden questions, the progress bar will also count these when displaying progress.
For example, in a survey with 5 hidden questions at the start followed by 5 visible questions, the progress bar will show 60% completed when the first question is displayed.

TagsNo tags attached.
Bug heat12
Complete LimeSurvey version number (& build)6.6.6
I will donate to the project if issue is resolvedNo
BrowserCrome
Database type & versionMariaDB-Version 10.5.26
Server OS (if known)
Webserver software & version (if known)
PHP Version8.3

Relationships

parent of 19794 new Progress bar shows values > 100% 
Not all the children of this issue are yet resolved or closed.

Users monitoring this issue

duvemyster

Activities

tibor.pacalat

tibor.pacalat

2024-10-04 16:20

administrator   ~81165

That should be fixed in the next release, the fix has already been merged to master.

Mazi

Mazi

2024-10-09 10:29

updater   ~81190

@tibor.pacalat, looks like this may have introduced a new issue?!
https://bugs.limesurvey.org/view.php?id=19794

tibor.pacalat

tibor.pacalat

2024-10-09 13:25

administrator   ~81193

@Mazi no, this is the same issue. We didn't deploy the fix yet.

Mazi

Mazi

2024-10-09 14:30

updater   ~81197

@tibor.pacalat: Thanks for letting me know. The error description is pretty different though - hidden questions taken into account at this ticket and bar going beyond 100% at the new ticket. But maybe the fix solves both, this should be checked.

Issue History

Date Modified Username Field Change
2024-10-04 11:09 BlackSwan New Issue
2024-10-04 16:20 tibor.pacalat Note Added: 81165
2024-10-04 16:20 tibor.pacalat Bug heat 0 => 2
2024-10-09 10:29 Mazi Relationship added parent of 19794
2024-10-09 10:29 Mazi Note Added: 81190
2024-10-09 10:29 Mazi Bug heat 2 => 4
2024-10-09 10:29 guest Bug heat 4 => 10
2024-10-09 13:25 tibor.pacalat Note Added: 81193
2024-10-09 14:30 Mazi Note Added: 81197
2024-10-15 20:46 duvemyster Issue Monitored: duvemyster
2024-10-15 20:46 duvemyster Bug heat 10 => 12