View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
20399Bug reportsUsability/user experiencepublic2026-03-23 09:45
ReporterAdrian Assigned Tostefankotes  
PrioritynoneSeverityminor 
Status ready for code reviewResolutionopen 
Product Version6.16.x 
Summary20399: Question Admin Sidebar (left) - "selected" css class applied to all questions of a group
Description

Problem:

  • In the left admin sidebar listing of questions, all questions of a group have a "selected" class applied.
  • This makes it impossible to isolate the actual selected question to style it differently so the user knows which question is selected in the sidebar.

Expected Behaviour:

  • Only the active selected question should have the "selected" css class applied.
Steps To Reproduce

Steps to reproduce

  • Create a Group
  • Create two questions in the group
  • Click on one question and inspect the HTML for that question and noted that both questions have the "selected" css class applied to them:
<li data-bs-toggle="tooltip" data-questiontype="M" data-has-condition="true" title="" class="list-group-item question-question-list-item ls-flex-row align-itmes-flex-start selected " data-bs-original-title="Test question 2">

Expected result

  • Only the selected question should have "selected" or "selected-active" applied to it so that we can target that element in CSS and give it a clear visual cue to the user that it's the selected question.

Actual result

  • All questions are tagged as selected in the sidebar.
TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)6.16.3+251215
I will donate to the project if issue is resolvedNo
BrowserChrome, Safari
Database type & versionMySQL 8.x
Server OS (if known)Ubuntu / Linux
Webserver software & version (if known)Apache 2.x
PHP VersionPHP 8.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

stefankotes

stefankotes

2026-03-23 09:42

developer   ~84510

Hi Adrian,

A fix has been submitted to properly fetch last Question ID accessed as the logic for adding a class to the current active element exists.
Please use #questionexplorer .question-question-list-item.activated to find the active selected menu item.

Issue History

Date Modified Username Field Change
2026-01-11 16:22 Adrian New Issue
2026-01-12 17:48 DenisChenu Category Question editor => Usability/user experience
2026-02-28 00:34 c_schmitz Product Version 6.12.x => 6.16.x
2026-03-23 09:27 stefankotes Assigned To => stefankotes
2026-03-23 09:27 stefankotes Status new => assigned
2026-03-23 09:42 stefankotes Note Added: 84510
2026-03-23 09:42 stefankotes Bug heat 0 => 2
2026-03-23 09:45 stefankotes Status assigned => ready for code review