View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
03894Bug reportsSurvey editingpublic2010-02-12 11:09
Reporterdirkjot Assigned Touser372 
PrioritynormalSeverityminor 
Status closedResolutionunable to reproduce 
Product Version1.86 
Summary03894: horizontal scale wraps for 7 (or more?) items
Description

Using "list (flexible labels) (radio)" with number of columns set to 7, my 7th item always wraps to a second line. This happens regardless of whether I am using the no answer option. See screenshot. This happens in IE and Firefox, windows and ubuntu.

The problem lies in the width set in template.css, for seven points this is defined as 13% and this should be 12% because all the padding adds up. Loose patch below (didn't seem worth it to make a diff).

Additional Information

line 461 of template.css:
ul.cols-7 li , ul.cols-7-ul , table.cols-7 td { width: 13%; }

should be:
ul.cols-7 li , ul.cols-7-ul , table.cols-7 td { width: 12%; }

similar changes should probably be made to other column numbers, but I didn't have to time to try this out.

TagsNo tags attached.
Attached Files
wrapping.jpg (17,191 bytes)   
wrapping.jpg (17,191 bytes)   
Screenshot.png (20,526 bytes)   
Screenshot.png (20,526 bytes)   
limesurvey_survey_23262.csv (4,731 bytes)   
# LimeSurvey Survey Dump
# DBVersion 142
# This is a dumped survey from the LimeSurvey Script
# http://www.limesurvey.org/
# Do not change this header!

#
# SURVEYS TABLE
#
"sid","owner_id","admin","active","expires","startdate","adminemail","private","faxto","format","template","language","additional_languages","datestamp","usecookie","notification","allowregister","allowsave","autonumber_start","autoredirect","allowprev","printanswers","ipaddr","refurl","datecreated","publicstatistics","publicgraphs","listpublic","htmlemail","tokenanswerspersistence","assessments","usecaptcha","usetokens","bounce_email","attributedescriptions","emailresponseto","tokenlength"
"23262","1","Your Name","N","","","your@email.org","Y","","G","default","en","","N","N","0","N","Y","0","N","Y","N","N","N","2010-01-12","N","N","N","Y","N","N","D","N","your@email.org","","","15"

#
# GROUPS TABLE
#
"gid","sid","group_name","group_order","description","language"
"1","23262","group 1","0","","en"

#
# QUESTIONS TABLE
#
"qid","sid","gid","type","title","question","preg","help","other","mandatory","lid","lid1","question_order","language"
"1","23262","1","Z","q1","This does not fit well in ls187 (release 8227): seven columns have been requested but only four are used.&nbsp; Note also that 'no answer' is included although I did select &quot;option other = no&quot;.&nbsp; This last problem did not arise in 1.86.&nbsp; <br />","","","N","N","2","0","0","en"

#
# ANSWERS TABLE
#

#
# CONDITIONS TABLE
#

#
# LABELSETS TABLE
#
"lid","label_name","languages"
"2","7pt-agreement","en"

#
# LABELS TABLE
#
"lid","code","title","sortorder","language","assessment_value"
"2","1","<br>Fully disagree","0","en","1"
"2","2","<br>Disagree","1","en","2"
"2","3","<br>Somewhat disagree","2","en","3"
"2","4","<br>Neutral","3","en","4"
"2","5","<br>Somewhat agree","4","en","5"
"2","6","<br>Agree","5","en","6"
"2","7","<br>Fully Agree","6","en","7"

#
# QUESTION_ATTRIBUTES TABLE
#
"qaid","qid","attribute","value"
"1","1","alphasort","0"
"2","1","code_filter",""
"3","1","display_columns","7"
"4","1","hide_tip","0"
"5","1","hidden","0"
"6","1","other_comment_mandatory","0"
"7","1","other_replace_text",""
"8","1","page_break","0"
"9","1","public_statistics","0"
"10","1","random_order","0"
"11","1","scale_export","0"

#
# ASSESSMENTS TABLE
#

#
# SURVEYS_LANGUAGESETTINGS TABLE
#
"surveyls_survey_id","surveyls_language","surveyls_title","surveyls_description","surveyls_welcometext","surveyls_endtext","surveyls_url","surveyls_urldescription","surveyls_email_invite_subj","surveyls_email_invite","surveyls_email_remind_subj","surveyls_email_remind","surveyls_email_register_subj","surveyls_email_register","surveyls_email_confirm_subj","surveyls_email_confirm","surveyls_dateformat"
"23262","en","7 col test","","","<br />","","","Invitation to participate in survey","Dear {FIRSTNAME},<br /><br />You have been invited to participate in a survey.<br /><br />The survey is titled:<br />""{SURVEYNAME}""<br /><br />""{SURVEYDESCRIPTION}""<br /><br />To participate, please click on the link below.<br /><br />Sincerely,<br /><br />{ADMINNAME} ({ADMINEMAIL})<br /><br />----------------------------------------------<br />Click here to do the survey:<br />{SURVEYURL}","Reminder to participate in survey","Dear {FIRSTNAME},<br /><br />Recently we invited you to participate in a survey.<br /><br />We note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.<br /><br />The survey is titled:<br />""{SURVEYNAME}""<br /><br />""{SURVEYDESCRIPTION}""<br /><br />To participate, please click on the link below.<br /><br />Sincerely,<br /><br />{ADMINNAME} ({ADMINEMAIL})<br /><br />----------------------------------------------<br />Click here to do the survey:<br />{SURVEYURL}","Survey registration confirmation","Dear {FIRSTNAME},<br /><br />You, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.<br /><br />To complete this survey, click on the following URL:<br /><br />{SURVEYURL}<br /><br />If you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.","Confirmation of completed survey","Dear {FIRSTNAME},<br /><br />This email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.<br /><br />If you have any further questions about this email, please contact {ADMINNAME} at {ADMINEMAIL}.<br /><br />Sincerely,<br /><br />{ADMINNAME}","1"

#
# QUOTA TABLE
#

#
# QUOTA_MEMBERS TABLE
#

#
# QUOTA_LANGUAGESETTINGS TABLE
#

limesurvey_survey_23262.csv (4,731 bytes)   
limesurvey_labelset_5.csv (592 bytes)   
# LimeSurvey Label Set Dump
# DBVersion 138
# This is a dumped label set from the LimeSurvey Script
# http://www.limesurvey.org/
# Do not change this header!

#
# LABELSETS TABLE
#
"lid","label_name","languages"
"5","7pt-agreement","en"

#
# LABELS TABLE
#
"lid","code","title","sortorder","language","assessment_value"
"5","1","<br>Fully disagree","0","en","1"
"5","2","<br>Disagree","1","en","2"
"5","3","<br>Somewhat disagree","2","en","3"
"5","4","<br>Neutral","3","en","4"
"5","5","<br>Somewhat agree","4","en","5"
"5","6","<br>Agree","5","en","6"
"5","7","<br>Fully Agree","6","en","7"
limesurvey_labelset_5.csv (592 bytes)   
bug_03894_TP_648x172.gif (7,714 bytes)   
bug_03894_TP_648x172.gif (7,714 bytes)   
screenshot-14jan.png (14,106 bytes)   
screenshot-14jan.png (14,106 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)0000
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version

Relationships

related to 03821 closedtpartner Question Attribute "Column" isn't working 
related to 03825 closedtpartner List (radio) by columns not behaving 

Users monitoring this issue

There are no users monitoring this issue.

Activities

user372

2009-12-04 00:28

  ~10438

Last edited: 2009-12-04 00:38

I can't reproduce the issue with a simple sample survey on the latest development build ==> see attached screenshot and/or attached survey structure.

@ dirkjot: Please have a look at v1.87RC5 (= should be released soon) or later and tell us, if the problem is also fixed for you ==> our coder "tpartner" fixed some issue regarding the question attribute "display_column".

dirkjot

dirkjot

2009-12-10 18:38

reporter   ~10526

Last edited: 2009-12-10 18:41

1.87 rc4 still has it, but looking forward to trying it on a newer version. Re-reading the other problem: I doubt that that will change this bug but let's see.

user372

2009-12-26 09:45

  ~10684

@ dirkjot: can you reproduce the issue at v1.87RC5 (or later)? If yes, please attach your sample survey (survey structure as .csv-file).

user372

2010-01-11 00:06

  ~10742

dirkjot: please provide feedback!

dirkjot

dirkjot

2010-01-12 13:21

reporter   ~10749

@elmatador: sorry, but I have an job to do next to this :-)

I finally got around to this and tested in in ls1.87. Same problem as before, with an additional twist that the 'no answer' options comes up even though I selected not to see that. I have attached a one question survey and the labelset that you need to replicate this. HOpe this helps.

tpartner

tpartner

2010-01-12 17:01

partner   ~10752

dirkjot, I can't reproduce either of these problems in FF3.5, Safari3.2 or IE6/7. See my screenshot - bug_03894_TP_648x172.gif.

What browser and OS are you using?

dirkjot

dirkjot

2010-01-14 12:28

reporter   ~10778

I am using FF 3.0.16 on Ubunty Jaunty. However, after looking at this again the original bug should probably be closed: the reason it still wrapped for me last time is because I forgot to switch off the Global option "show no-answer" (ever so confusing that this is a global): With that option on, there are 8 answers, which makes the display wrap.

With that option off, there are only 7 answers and things fit but as you can see in the screenshot-14jan.png, it looks very unsatisfactory: There is spare room to the right of the seven options (not a extra space but simply unused space), and several options are bunched too closely together, specifically: there is not enough space to the left of the word Neutral. The vertical position of Neutral is also different from most other items.
Should I open a new bug for that?

Best,
Dirk

user372

2010-01-24 22:11

  ~10868

@ dirkjot: Yes, please open a new ticket!

Issue History

Date Modified Username Field Change
2009-11-24 14:38 dirkjot New Issue
2009-11-24 14:38 dirkjot File Added: wrapping.jpg
2009-11-24 14:38 dirkjot LimeSurvey build number => 0000
2009-12-04 00:28 user372 Note Added: 10438
2009-12-04 00:29 user372 File Added: Screenshot.png
2009-12-04 00:29 user372 File Added: limesurvey_survey_56383.csv
2009-12-04 00:29 user372 Status new => assigned
2009-12-04 00:29 user372 Assigned To => user372
2009-12-04 00:30 user372 Project @2@ => Bug reports
2009-12-04 00:31 user372 Relationship added related to 03821
2009-12-04 00:35 user372 Relationship added related to 03825
2009-12-04 00:38 user372 Note Edited: 10438
2009-12-04 00:38 user372 Status assigned => feedback
2009-12-10 18:38 dirkjot Note Added: 10526
2009-12-10 18:41 dirkjot Note Edited: 10526
2009-12-26 09:45 user372 Note Added: 10684
2010-01-11 00:06 user372 Note Added: 10742
2010-01-12 13:21 dirkjot Note Added: 10749
2010-01-12 13:21 dirkjot File Added: limesurvey_survey_23262.csv
2010-01-12 13:21 dirkjot File Added: limesurvey_labelset_5.csv
2010-01-12 16:57 tpartner File Added: bug_03894_TP_648x172.gif
2010-01-12 17:01 tpartner Note Added: 10752
2010-01-14 12:28 dirkjot Note Added: 10778
2010-01-14 12:29 dirkjot File Added: screenshot-14jan.png
2010-01-15 16:10 Mazi Status feedback => assigned
2010-01-24 22:11 user372 Note Added: 10868
2010-02-12 11:09 c_schmitz Status assigned => closed
2010-02-12 11:09 c_schmitz Resolution open => unable to reproduce
2010-10-25 00:17 c_schmitz Category Survey Design => Survey design
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing