Jump to content

Kexi/Junior Jobs/Small report improvements: Difference between revisions

From KDE Community Wiki
Jstaniek (talk | contribs)
Jstaniek (talk | contribs)
Line 52: Line 52:
#[unassigned][2.9] Kexi hangs in data view: assign table2.a to a checkbox in report6 (TODO(jstaniek): provide test file)
#[unassigned][2.9] Kexi hangs in data view: assign table2.a to a checkbox in report6 (TODO(jstaniek): provide test file)
#[unassigned][2.9] {{Bug|340598}}: Reports are printed (and exported to PDF) in screen resolution (initial patch attached to the bug).
#[unassigned][2.9] {{Bug|340598}}: Reports are printed (and exported to PDF) in screen resolution (initial patch attached to the bug).
#[unassigned][2.9] Selecting entire report does not work for new unsaved report. Top reproduce: create a new report, report properties will be displayed. Then click on the Detail surface, Details properties will be displayed. Then click on the Report "box" (upper-left). Nothing changes.
#[unassigned][2.9] Selecting entire report should remove highlighting from the recently selected section. See [http://kexi-project.org/pics/2.9/bugs/kexi-report-bug-1.png].

Revision as of 13:29, 3 November 2014

Status: some ASSIGNED, Target: 2.9, Difficulty: EASY

Proposed and mentored by Jstaniek (talk) 08:09, 11 September 2014 (UTC)

The Goal

Smaller but important improvements in Kexi Reports. Often related to usability.

The Tasks

Note

Pick one task from this list. Mark it with a [assigned to YOURNAME] tag. Create a bugs.kde.org entry especially for non-trivial improvements. See Contributing a Patch.


  1. [piggz][2.9] Add visible "value" property to all report elements. If an element has proper data source assignment, the value is ignored but otherwise it's displayed as "static" data. Example: value of boolean type for a check box.
    • Report XML element name: report:value.
    • For Image element, then "static-image" property seems to be acting as the value. Fix the following:
      • Has the property ever worked (or is there regression?), setting image file does not work (master 2.9)
      • Fix the use of ":lastVisitedImagePath" - it is displayed in the dialog when you click the "..." button
      • Replace it with "value" but still load "static-image" property when report is opened, and save as "static-image" property too (special case for backward compatibility)
  2. [unassigned][2.9] improve the placeholders for elements in design mode: translate them too. ": field" is not quite good.
    • In general follow what is practiced in Kexi Forms
    • If there is "data source" property set, display it as text
    • If there is no "data source" property set but "value" property is set, display its representation
    • In case of Image Box display "image (unbound)" centered text as in the Image form widget
  3. [unassigned][2.9] when inserting lines by single click, the object is too small.
  4. [unassigned][2.9] Rename visible caption of "Check" to "Check Box", "Web" to "Web Page"
  5. [unassigned][2.9] Improve appearance of report check box element of style "Dot", it currently looks like a radio button, what is misleading: [1]
  6. [unassigned][2.9] Improve appearance of check box in tabular view when the value is NULL and Required == false: [2] -- the "?" mark is misplaced a bit
  7. [unassigned][2.9] Tables allow to set "Required" property to false, what means NULL values are allowed. When this is used with fields of boolean type, NULL values are presented using question marks (see [3]). In a report based on this table, it's not possible to see difference between NULL and false value: [4]. A mockup of how it should look like: [5]. Details: this should not be the default behaviour. Instead: add "tristate" boolean property to the check box report element, false by default, caption == "Tristate". If "tristate" is true, "?" marks should be visible for NULL values *if* data source is assigned.
  8. [unassigned][2.9] Use the dedicated data source combo box widget from forms 'data source' tab [6] in reports. The current data source combo in reports 'data source' tab has broken sorting and looks inferior [7] to what form offers. Also it does not offer keyboard access or completion.
  9. [unassigned][2.9] Change label for the data source combo in report designer's 'data source' tab from the hacky "Internal Source" to "Report's data source:" (making it similar to what forms shows).
  10. [unassigned][2.9] Improve HIG compliance. Change label related to the data source combo in form designer's 'data source' tab from "Form's data source" to "Form's data source:". Also in report designer's 'data source' tab change "Source Type:" to "Source Type:" and "External Source:" to "External source:".
  11. [unassigned][2.9] Inserting element by drawing a (x1, y2, x2, y2) rectangle where x1 > x2 or y1 > y2 fails. Element with default size is just inserted at (x1, x2). Add support for any combination of coordinates.
  12. [unassigned][2.9] Inserting element by drawing a (x1, y2, x2, y2) rectangle misbehaves when user exceeds any border.
  13. [unassigned][2.9] Inserting element by drawing a (x1, y2, x2, y2) rectangle select existing widgets the user draws over. This should not happen.
  14. Moving multiple selection isn't possible
  15. [unassigned][2.9] Multi-selection should also work when user presses left mouse button with Shift key. Another such click should unselect a widget.
  16. [unassigned][2.9] Pasted element(s) should be automatically selected, and previous selection should be cleared.
  17. [unassigned][2.9] Wish #339032 Add possibility of "Duplicating" current selection of report elements by dragging while Ctrl button is pressed. This already works in forms. Please visualize the dragging (in forms it's poorly visualized but the feature works). Duplicating is very similar to copy+paste. See an example for PowerPoint.
  18. [assigned to r.wicik][2.8] Change default for background color to Qt::transparent in report elements. Just change from Qt::white.
  19. [assigned to r.wicik][2.8] Change default for background color to foreground palette color in report elements. Just change from Qt::black.
  20. [assigned to r.wicik][2.8] "background-opacity" property not visible in report elements.
  21. [assigned to r.wicik][2.8] "background-color" property not visible in report elements in preview mode and printouts.
  22. [assigned to r.wicik][2.8] "foreground-color" property not visible in report elements in preview mode and printouts.
  23. [unassigned][2.9] Add "foreground-opacity" property to report elements.
  24. [assigned to MPtr][2.8] Add translation and hide some widget.
  25. [unassigned][2.9] Add "smoothing" (bool) property to the Image report element, see similar property of Image Box form widget's for more info.
  26. [unassigned][2.9] Replace "resize-mode" property of the Image report element with "scaled-contents" (bool) but still load "resize-mode" property when report is opened, and save as "resize-mode" property too (special case for backward compatibility), see similar property of Image Box form widget's for more info.
  27. [unassigned][2.9] Add "keep-ratio" (bool) property to the Image report element, see similar property of Image Box form widget's for more info.
  28. [unassigned][2.9] Add "background-color" (color) property to the Image report element, see similar property of Image Box form widget's for more info. Makes sense for images with alpha channels.
  29. [unassigned][2.9] Add "horizontal-align" and "veritcal-align" (Qt::AlignmentFlag) properties to the Image report element, see similar properties of Image Box form widget's for more info.
  30. [unassigned][2.9] Check if all property names and values are translatable. Use any non-english language for this.
  31. [unassigned][2.9] how m_image->m_resizeMode->setValue("Stretch") can work in krscriptimage.cpp?
  32. [unassigned][2.9] Kexi hangs in data view: assign table2.a to a checkbox in report6 (TODO(jstaniek): provide test file)
  33. [unassigned][2.9] Bug #340598: Reports are printed (and exported to PDF) in screen resolution (initial patch attached to the bug).
  34. [unassigned][2.9] Selecting entire report does not work for new unsaved report. Top reproduce: create a new report, report properties will be displayed. Then click on the Detail surface, Details properties will be displayed. Then click on the Report "box" (upper-left). Nothing changes.
  35. [unassigned][2.9] Selecting entire report should remove highlighting from the recently selected section. See [8].