View Issue Details

IDProjectCategoryView StatusLast Update
0033640LazarusPackagespublic2018-04-23 23:31
ReporterStephanoAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.9 (SVN)Product Build 
Target VersionFixed in Version1.9 (SVN) 
Summary0033640: FPReport preview: Cannot zoom out after max zoom in
Description- Preview any report
- Zoom in to the max
- Zoom out (using the zoom out button, not the zoom reset button)
It's impossible to zoom out.
Patch attached.
TagsNo tags attached.
Fixed in Revision57689
LazTarget-
Widgetset
Attached Files
  • PreviewZoomBugPatch.diff (386 bytes)
    Index: fpreportpreview.pas
    ===================================================================
    --- fpreportpreview.pas	(revision 57688)
    +++ fpreportpreview.pas	(working copy)
    @@ -251,7 +251,7 @@
     
     procedure TFPReportPreviewForm.AZoomOutExecute(Sender: TObject);
     begin
    -  if FCurrentZoom<MaxZoomIndex then
    +  if FCurrentZoom>-MaxZoomIndex then
         CurrentZoom:=CurrentZoom-1;
     end;
     
    

Activities

Stephano

2018-04-23 21:18

developer  

PreviewZoomBugPatch.diff (386 bytes)
Index: fpreportpreview.pas
===================================================================
--- fpreportpreview.pas	(revision 57688)
+++ fpreportpreview.pas	(working copy)
@@ -251,7 +251,7 @@
 
 procedure TFPReportPreviewForm.AZoomOutExecute(Sender: TObject);
 begin
-  if FCurrentZoom<MaxZoomIndex then
+  if FCurrentZoom>-MaxZoomIndex then
     CurrentZoom:=CurrentZoom-1;
 end;
 

Michael Van Canneyt

2018-04-23 23:21

administrator   ~0107964

Applied, thanks for the patch !

Issue History

Date Modified Username Field Change
2018-04-23 21:18 Stephano New Issue
2018-04-23 21:18 Stephano Status new => assigned
2018-04-23 21:18 Stephano Assigned To => Michael Van Canneyt
2018-04-23 21:18 Stephano File Added: PreviewZoomBugPatch.diff
2018-04-23 23:21 Michael Van Canneyt Fixed in Revision => 57689
2018-04-23 23:21 Michael Van Canneyt Note Added: 0107964
2018-04-23 23:21 Michael Van Canneyt Status assigned => resolved
2018-04-23 23:21 Michael Van Canneyt Fixed in Version => 1.9 (SVN)
2018-04-23 23:21 Michael Van Canneyt Resolution open => fixed
2018-04-23 23:31 Stephano Status resolved => closed