Bug 389853 - Worksheet opens scaled up
Summary: Worksheet opens scaled up
Status: RESOLVED FIXED
Alias: None
Product: LabPlot2
Classification: Applications
Component: frontend (show other bugs)
Version: latest
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Semke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-04 03:14 UTC by Matthew Trescott
Modified: 2018-03-31 10:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Example file that demonstrates the problem (1.87 KB, application/gzip)
2018-02-04 03:14 UTC, Matthew Trescott
Details

Note You need to log in before you can comment on or make changes to this bug.
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