Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
17271Bug reportsStatisticspublic2021-09-06 10:59
ReporterDenisChenu Assigned ToJHoeck  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version4.5.x 
Summary17271: Print statistics are totally broken (near empty)
Description

When try to use Browser print system to print statistics : it make a totally unusable file : it's empty

Steps To Reproduce

Import included survey : 1 single choice question, no open questuion
Go to response / Response & statitics
Click on Statitics button
Choose :

  • All responses
  • View summary of all available fields: On
  • Show graphs: ON (broke with Off too)
    Click on View statitics
    Click on your browser : file print
Additional Information

Totally different than 3.X but not really better

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build) 4.5.1
I will donate to the project if issue is resolvedNo
Browserfirefox
Database type & versionnot relevant?
Server OS (if known)not relevant ?
Webserver software & version (if known)not relevant ?
PHP Versionnot relevant ?

Relationships

related to 17270 closedDenisChenu Print statistics are totally broken (lot of page) 

Activities

ollehar

ollehar

2021-04-26 09:47

administrator   ~64147

What the... debug = 2?

DenisChenu

DenisChenu

2021-04-26 11:31

developer   ~64152

Last edited: 2021-06-03 15:12

Yes debug = 2

And here :

  • Show text responses inline: OFF + Show graphs: OFF : empty
  • Show text responses inline: ON + Show graphs: ON : empty

Else : some dev think they are better than bootstrap :https://getbootstrap.com/docs/3.3/css/#responsive-utilities-print

Myabe it can be great to hide all menus when print (via hidden-print)
This make whole system better.

DenisChenu

DenisChenu

2021-05-17 07:52

developer   ~64423

Last edited: 2021-06-03 15:12

Still issue in Chrome
But : inexplicable error with firefox

https://github.com/LimeSurvey/LimeSurvey/pull/1882

gabrieljenik

gabrieljenik

2021-06-24 18:38

manager   ~65056

We tested the PR.
Couldn't reproduce the firefox issue on normal use.

Only crashed if trying to print using FF + Dev Tools + Set Page Print Mode,

image.png (64,505 bytes)   
image.png (64,505 bytes)   
DenisChenu

DenisChenu

2021-08-26 15:55

developer   ~66154

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

Related Changesets

LimeSurvey: master 5ceb483a

2021-08-26 15:55:52

DenisChenu


Committer: GitHub Details Diff
Fixed issue 17271: Print statistics are totally broken (near empty) (#1882)

* Fixed issue 17271: Print statistics are totally broken (near empty)
Dev: same fix than 3X

* Dev: Fix chrome issue
Dev: legend shown next to graph

Co-authored-by: Jessica Höck <thedirtypanda001@gmail.com>
Affected Issues
17271
mod - application/helpers/admin/statistics_helper.php Diff File
mod - application/views/admin/export/generatestats/_header.php Diff File
mod - application/views/admin/export/generatestats/_statisticsoutput_graphs.php Diff File
mod - application/views/admin/export/generatestats/_statisticsoutput_header.php Diff File
mod - application/views/admin/export/statistics_browse_view.php Diff File
mod - application/views/admin/export/statistics_subviews/_statistics_header.php Diff File
mod - application/views/admin/export/statistics_view.php Diff File
mod - assets/packages/adminbasics/build/adminbasics.js Diff File
mod - assets/packages/adminbasics/scss/000-lime-admin-common.scss Diff File
mod - assets/packages/adminbasics/scss/ltr/000-lime-admin-common.scss Diff File
mod - assets/packages/adminbasics/scss/rtl/000-lime-admin-common-rtl.scss Diff File

Issue History

Date Modified Username Field Change
2021-04-24 19:47 DenisChenu New Issue
2021-04-24 19:47 DenisChenu File Added: LimeSurvey4-defaultCSS.pdf
2021-04-24 19:47 DenisChenu File Added: LimeSurvey4-disableCSS.pdf
2021-04-24 19:47 DenisChenu File Added: survey_archive_287435.lsa
2021-04-24 19:47 DenisChenu Relationship added related to 17270
2021-04-26 09:47 ollehar Note Added: 64147
2021-04-26 09:47 ollehar Assigned To => ollehar
2021-04-26 09:47 ollehar Status new => feedback
2021-04-26 11:31 DenisChenu Note Added: 64152
2021-04-26 11:31 DenisChenu Status feedback => assigned
2021-05-17 07:52 DenisChenu Note Added: 64423
2021-06-03 15:12 ollehar Sync to Zoho Project => |Yes|
2021-06-24 18:38 gabrieljenik Note Added: 65056
2021-06-24 18:38 gabrieljenik File Added: image.png
2021-07-05 17:26 gabrieljenik Assigned To ollehar => gabrieljenik
2021-07-05 17:27 gabrieljenik Status assigned => feedback
2021-08-26 15:55 DenisChenu Changeset attached => LimeSurvey master 5ceb483a
2021-08-26 15:55 DenisChenu Note Added: 66154
2021-08-26 15:55 DenisChenu Assigned To gabrieljenik => DenisChenu
2021-08-26 15:55 DenisChenu Resolution open => fixed
2021-08-30 10:37 DenisChenu Assigned To DenisChenu => JHoeck
2021-08-30 10:37 DenisChenu Status feedback => resolved
2021-09-06 10:59 c_schmitz Status resolved => closed