Bug 389853

Summary: Worksheet opens scaled up
Product: [Applications] LabPlot2 Reporter: Matthew Trescott <matthewtrescott>
Component: frontendAssignee: Alexander Semke <alexander.semke>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: latest   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Example file that demonstrates the problem

Description Matthew Trescott 2018-02-04 03:14:17 UTC
Created attachment 110324 [details]
Example file that demonstrates the problem

Using latest git, if you open the attached file (which I saved while the graph was looking normal), it opens zoomed way in so that you can't understand the graph. Right-clicking inside the Worksheet window but outside the graph area causes it to jump to the right scale.
Comment 1 Matthew Trescott 2018-02-05 17:53:51 UTC
Sorry, this is not a bug per se, I needed to run make install.
Comment 2 Alexander Semke 2018-03-31 10:07:52 UTC
Git commit 27eb0a33afb77d6737b2eb4b430d9e2f9aeeebbf by Alexander Semke.
Committed on 31/03/2018 at 10:06.
Pushed by asemke into branch 'master'.

Set the worksheet size to the original size in the constructor of the view and not when the actions are initialised.
FIXEd-IN: 2.5

M  +5    -2    src/commonfrontend/worksheet/WorksheetView.cpp

https://commits.kde.org/labplot/27eb0a33afb77d6737b2eb4b430d9e2f9aeeebbf