View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
18456Bug reportsErgonomypublic2023-05-24 12:30
ReporterNickko Assigned Totibor.pacalat  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version5.4.x 
Summary18456: Interface language parmater use exotic dropdown list.
Description

Interface language parmater use exotic dropdown list.

A usual dropdown list all the user to type the begining of the word he is looking for, for example, typing "Fra" for "français".
This exotic dropdown list require the user to click on a input text field to type in what they are looking for.

It's better if all dropdonw list was identical and common. (it's a usability/ergonomics criterias find in Nielsen and Bastien et Scapin papers).

Steps To Reproduce

Steps to reproduce

Go to "my account" / "my personal settings".
Click on "interface language".
Type the begining of a language.

Expected result

The text corresponding to the entry is show in the dropdown list.

Actual result

Nothing happen.

TagsNo tags attached.
Attached Files
personal settings.png (65,931 bytes)   
personal settings.png (65,931 bytes)   
Bug heat10
Complete LimeSurvey version number (& build)5.4.9+221101
I will donate to the project if issue is resolvedNo
BrowserVivaldi & Edge
Database type & versionMySQL
Server OS (if known)OVH shared hosting
Webserver software & version (if known)OVH shared hosting
PHP Version8.1

Relationships

related to 17813 assignedDenisChenu Current select2 are unaccessible 
related to 18462 closedtibor.pacalat Missing option to search for survey groups at list survey screen 

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2022-11-04 15:46

administrator   ~72568

I can confirm that.

Possible solution: https://stackoverflow.com/questions/68030101/why-is-jquery-select2-autofocus-not-working-and-how-do-i-fix-it

This should be applied to all select2 elements.

DenisChenu

DenisChenu

2022-11-04 17:42

developer   ~72569

This should be applied to all select2 elements.

Unsure , maybe by data-autofocus ?

About selelect2 : we nee really more … on user list, on survey list when copy etc …
https://gitlab.com/SondagesPro/coreAndTools/select2ForAdmin/-/blob/master/assets/select2ForAdmin.js

DenisChenu

DenisChenu

2022-11-04 17:46

developer   ~72570

Maybe better use this PR : https://github.com/select2/select2/pull/6044
(if it work)

gabrieljenik

gabrieljenik

2023-03-23 22:04

manager   ~74261

Denis, what do you think about making this https://gitlab.com/SondagesPro/coreAndTools/select2ForAdmin a core plugin?

DenisChenu

DenisChenu

2023-03-24 07:57

developer   ~74267

Last edited: 2023-03-24 07:58

No,

I think it must be in core without plugin (core or not)
But since my issue tale more than 4 month to be merged i don't create feature request like this now.

gabrieljenik

gabrieljenik

2023-03-24 14:08

manager   ~74280

OK, I will go with it

DenisChenu

DenisChenu

2023-04-12 08:58

developer   ~74469

PS : related https://github.com/LimeSurvey/LimeSurvey/pull/3012

DenisChenu

DenisChenu

2023-04-12 09:20

developer   ~74472

Last edited: 2023-04-12 09:38

[edit] bs5 theme already in 6.X

DenisChenu

DenisChenu

2023-04-27 16:58

developer   ~74711

I'm upset …
@Nickko ask to remove select2 but we add more …

But when you have 1000 user and know only email : select2 is really a great solution …
https://github.com/LimeSurvey/LimeSurvey/pull/3067

gabrieljenik

gabrieljenik

2023-04-27 17:04

manager   ~74712

I'm upset …
@Nickko ask to remove select2 but we add more …

But here you said About selelect2 : we nee really more … on user list, on survey list when copy etc …

But when you have 1000 user and know only email : select2 is really a great solution …

I agree, and now they are more consistent.

DenisChenu

DenisChenu

2023-04-27 17:07

developer   ~74713

But here you said About selelect2 : we nee really more … on user list, on survey list when copy etc …

Yes, i know … my fault (partially) …

tibor.pacalat

tibor.pacalat

2023-04-27 17:45

administrator   ~74718

I have tested this and it works as expected.

tibor.pacalat

tibor.pacalat

2023-05-03 16:59

administrator   ~74793

I have merged this in.

guest

guest

2023-05-03 17:55

viewer   ~74794

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=34601

gabrieljenik

gabrieljenik

2023-05-23 18:17

manager   ~75197

PR for autofocus: https://github.com/LimeSurvey/LimeSurvey/pull/3112
(was pending)

tibor.pacalat

tibor.pacalat

2023-05-24 11:52

administrator   ~75210

tested and merged

guest

guest

2023-05-24 12:30

viewer   ~75212

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=34717

Related Changesets

LimeSurvey: master 58ee7870

2023-05-03 18:58

Gabriel Jenik

Committer: GitHub


Details Diff
Fixed issue 18456: Interface language parmater use exotic dropdown list. (#3067)

* Fixed issue 18456: Interface language parmater use exotic dropdown list.

Class activate-search added to select. Select2 initialized manually.

* Fixed issue 18456: Interface language parmater use exotic dropdown list.

Bootstrap theme added to select2 select.

* Fixed issue 18456: Interface language parmater use exotic dropdown list.

Css classes added.

* Fixed issue 18456: Interface language parmater use exotic dropdown list.

Ready to merge.

* Fixed issue 18456: Interface language parmater use exotic dropdown list.

Class activate-search added so select2 is automatically initialized.

---------

Co-authored-by: Lapiu Dev <devgit@lapiu.biz>
Affected Issues
18456
mod - application/views/admin/survey/subview/accordion/_generaloptions_panel.php Diff File
mod - application/views/admin/themes/templateeditorbar_view.php Diff File
mod - application/views/surveyPermissions/index.php Diff File

LimeSurvey: master 93009ff5

2023-05-24 13:52

Gabriel Jenik

Committer: GitHub


Details Diff
Fixed issue 18456: Interface language parmater use exotic dropdown list. (#3112)

* Fixed issue 18456: Interface language parmater use exotic dropdown list.

Auto focus on select2 search field added.

* Fixed issue 18456: Interface language parmater use exotic dropdown list.

Auto focus bug on multiple selects fixed.

* Fixed issue 18456: Interface language parmater use exotic dropdown list.

Assert rebuilt.

---------

Co-authored-by: Lapiu Dev <devgit@lapiu.biz>
Affected Issues
18456
mod - assets/packages/adminbasics/build/adminbasics.js Diff File
mod - assets/packages/adminbasics/build/adminbasics.min.js Diff File
mod - assets/packages/adminbasics/src/parts/globalMethods.js Diff File

Issue History

Date Modified Username Field Change
2022-11-04 12:07 Nickko New Issue
2022-11-04 12:07 Nickko File Added: personal settings.png
2022-11-04 15:46 c_schmitz Note Added: 72568
2022-11-04 15:46 c_schmitz Bug heat 0 => 2
2022-11-04 17:42 DenisChenu Note Added: 72569
2022-11-04 17:42 DenisChenu File Added: Capture d’écran du 2022-11-04 17-39-21.png
2022-11-04 17:42 DenisChenu Bug heat 2 => 4
2022-11-04 17:46 DenisChenu Note Added: 72570
2022-11-04 17:50 DenisChenu Relationship added related to 17813
2022-11-07 14:20 gabrieljenik Status new => acknowledged
2023-01-24 21:25 gabrieljenik Status acknowledged => confirmed
2023-02-16 16:41 gabrieljenik Assigned To => gabrieljenik
2023-02-16 16:41 gabrieljenik Status confirmed => assigned
2023-03-23 22:04 gabrieljenik Note Added: 74261
2023-03-23 22:04 gabrieljenik Bug heat 4 => 6
2023-03-24 07:57 DenisChenu Note Added: 74267
2023-03-24 07:58 DenisChenu Note Edited: 74267
2023-03-24 14:08 gabrieljenik Note Added: 74280
2023-04-11 20:54 gabrieljenik Relationship added related to 18462
2023-04-12 08:58 DenisChenu Note Added: 74469
2023-04-12 09:20 DenisChenu Note Added: 74472
2023-04-12 09:26 DenisChenu Note Edited: 74472
2023-04-12 09:38 DenisChenu Note Edited: 74472
2023-04-27 16:45 gabrieljenik Assigned To gabrieljenik => DenisChenu
2023-04-27 16:45 gabrieljenik Status assigned => ready for code review
2023-04-27 16:58 DenisChenu Note Added: 74711
2023-04-27 17:00 DenisChenu Assigned To DenisChenu => gabrieljenik
2023-04-27 17:00 DenisChenu Status ready for code review => ready for merge
2023-04-27 17:04 gabrieljenik Note Added: 74712
2023-04-27 17:05 gabrieljenik Assigned To gabrieljenik => tibor.pacalat
2023-04-27 17:07 DenisChenu Note Added: 74713
2023-04-27 17:45 tibor.pacalat Note Added: 74718
2023-04-27 17:45 tibor.pacalat File Added: Screenshot 2023-04-27 at 17.44.54.png
2023-04-27 17:45 tibor.pacalat Bug heat 6 => 8
2023-05-03 16:59 tibor.pacalat Status ready for merge => closed
2023-05-03 16:59 tibor.pacalat Resolution open => fixed
2023-05-03 16:59 tibor.pacalat Note Added: 74793
2023-05-03 17:55 Changeset attached => LimeSurvey master 58ee7870
2023-05-03 17:55 guest Note Added: 74794
2023-05-03 17:55 guest Bug heat 8 => 10
2023-05-23 18:17 gabrieljenik Status closed => ready for merge
2023-05-23 18:17 gabrieljenik Note Added: 75197
2023-05-24 11:52 tibor.pacalat Status ready for merge => closed
2023-05-24 11:52 tibor.pacalat Note Added: 75210
2023-05-24 12:30 Changeset attached => LimeSurvey master 93009ff5
2023-05-24 12:30 guest Note Added: 75212