View Issue Details

This bug affects 2 person(s).
 16
IDProjectCategoryView StatusLast Update
19790Bug reportsSurvey takingpublic2025-02-17 14:29
ReporterBlackSwan Assigned Totibor.pacalat  
PrioritynoneSeverityminor 
Status resolvedResolutionreopened 
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 heat16
Complete LimeSurvey version number (& build)LimeSurvey Community Edition Version 6.10.3+250203
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 resolvedmarcolombardo Progress bar shows values > 100% 

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.

c_schmitz

c_schmitz

2024-11-19 13:46

administrator   ~81428

Last edited: 2024-11-19 13:47

@BlackSwan Please update to the latest version and check if the bug can still be reproduced. Thank you.

BlackSwan

BlackSwan

2024-11-19 22:23

reporter   ~81444

The bug is solved. Thank you for the quick fix!

BlackSwan

BlackSwan

2025-02-13 20:46

reporter   ~82029

The bug has been fixed for all questions, but is still present on the very last page which displays the "End Message" (Settings Tab > Text Elements > End Message). Here the percentages are still calculated on the basis of all questions (including the permanently hidden questions).

BlackSwan

BlackSwan

2025-02-13 21:01

reporter   ~82030

Correction: The error does not occur with the end message. Rather, it occurs randomly, so that the progress is apparently suddenly calculated on the basis of all questions (including the hidden ones).

BlackSwan

BlackSwan

2025-02-13 22:20

reporter   ~82031

Please close again. The error was caused by a custom JS script Sorry.

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
2024-11-19 13:46 c_schmitz Assigned To => c_schmitz
2024-11-19 13:46 c_schmitz Status new => feedback
2024-11-19 13:46 c_schmitz Note Added: 81428
2024-11-19 13:46 c_schmitz Bug heat 12 => 14
2024-11-19 13:47 c_schmitz Note Edited: 81428
2024-11-19 13:47 c_schmitz Assigned To c_schmitz =>
2024-11-19 22:23 BlackSwan Note Added: 81444
2024-11-19 22:23 BlackSwan Bug heat 14 => 16
2024-11-19 22:23 BlackSwan Status feedback => new
2025-02-07 11:25 tibor.pacalat Assigned To => tibor.pacalat
2025-02-07 11:25 tibor.pacalat Status new => resolved
2025-02-07 11:25 tibor.pacalat Resolution open => fixed
2025-02-13 20:46 BlackSwan Status resolved => feedback
2025-02-13 20:46 BlackSwan Resolution fixed => reopened
2025-02-13 20:46 BlackSwan Complete LimeSurvey version number (& build) 6.6.6 => LimeSurvey Community Edition Version 6.10.3+250203
2025-02-13 20:46 BlackSwan Note Added: 82029
2025-02-13 21:01 BlackSwan Note Added: 82030
2025-02-13 21:01 BlackSwan Status feedback => assigned
2025-02-13 22:20 BlackSwan Note Added: 82031
2025-02-17 14:29 tibor.pacalat Status assigned => resolved