summaryrefslogtreecommitdiffstats
path: root/src/sp-namedview.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-1188/+0
A lot of header clean-up.
2018-01-07Limit default window size to monitor dimensionsEduard Braun1-0/+10
2018-01-07Make natural window size default and fix small window sizeEduard Braun1-5/+8
- Clamp "Small" window size to 600x600 Everything smaller seems pretty unusable but can be discussed. This fixes bug #1659256. - Make sure "Large" window size is at least as large as "Small" to avoid embarassing user reports. - add "Default" as new window size and (surprise) make it the default This will not influence the initial size request at all and should result in the natural window size (unless overriden by the window manager) and should be a suitable default for all cases. Fixed bug: - https://bugs.launchpad.net/inkscape/+bug/1659256
2018-01-07Use proper monitor for deriving geometryEduard Braun1-9/+9
- when restoring from document: use monitor closest to stored document location on screen - when using default size: use monitor Inkscape is launched on (we always used this before)
2018-01-07Switch sp-namedview.cpp to use the convenience functionEduard Braun1-16/+2
2018-01-07Let GTK+ / window managers handle window position sanitizingEduard Braun1-39/+5
Exploit that an unmapped window's size/position is automatically adjusted when it is first mapped which can be emulated by moving the window while it is hidden.
2018-01-07Make stored geometry and default window size enumsEduard Braun1-10/+12
2018-01-07Namedview: Use proper monitor to derive monitor_geometryEduard Braun1-15/+6
Inkscape does not necessarily start on the primary monitor. GTK+ did not reveal it's secrets (i.e. it seems undocumented) but empirically the monitor having the cursor is the monitor the initial window will be placed on.
2017-12-25Use a macro for GtkMM version checksAlexander Valavanis1-3/+3
2017-12-05Fix bug#1643179. Guides lock lost on load. Patch proposed in #5Jabier Arraiza1-7/+6
2017-07-12Prevent crash when get_primary_monitor() returns nullptr. (Second place.)Tavmjong Bah1-1/+5
2017-06-27GdkScreen deprecation fixesAlexander Valavanis1-10/+36
2017-03-20Implement rotation via desktop to window affine.Tavmjong Bah1-97/+1
Remove rotation via viewbox. Still some work to do... (bzr r15603)
2017-03-13Replace rectangle based zooming by affine based zooming.Tavmjong Bah1-5/+5
This allows a rotation to be included in the drawing to window mapping. General code cleanup. Added documentation. Any change to zooming behavior is probably a bug. (bzr r15592)
2017-02-11Fix and improve window sizing and positioning behavior when opening new ↵Eduard Braun1-26/+38
documents * The option "Remember and use last window's geometry" often had no effect. * When setting "Default window size" to "Large" the functions gdk_screen_width() / gdk_screen_height() were used to derive the size of the Inkscape window. However those functions return the combined screen size of all attached monitors resulting in window sizes that were too large. Now the size of the primary display is used. * In many cases the Inkscape window was moved to the top left corner of the combined screen area (which could be on a different monitor at best and outside of the visible screen area at worst). Inkscape should always spawn on the primary monitor now when not restoring the previous position. Fixed bugs: - https://launchpad.net/bugs/1190828 - https://launchpad.net/bugs/195683 - https://launchpad.net/bugs/568867 - https://launchpad.net/bugs/1654464 (bzr r15507)
2017-02-04Disable rotate guides in doc rotationJabiertxof1-21/+21
(bzr r15470)
2016-10-10Fix some canvas item problems and refresh items on rotateJabier Arraiza Cenoz1-4/+10
(bzr r15142.1.10)
2016-10-10Fix some canvas problems and refactorizationJabier Arraiza Cenoz1-2/+35
(bzr r15142.1.8)
2016-10-09Added widget to to rotateJabier Arraiza Cenoz1-5/+4
(bzr r15142.1.7)
2016-10-08Keep selectionJabier Arraiza Cenoz1-28/+15
(bzr r15142.1.5)
2016-10-08add rotate from current desktop centerJabier Arraiza Cenoz1-19/+21
(bzr r15142.1.3)
2016-10-02Doc rotate startJabier Arraiza Cenoz1-1/+46
(bzr r15142.1.1)
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-2/+0
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-0/+2
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-2/+0
(bzr r15025)
2016-07-14Renamed children list in SPObjectAdrian Boguszewski1-2/+2
(bzr r14954.1.21)
2016-07-13Second part of new SPObject children listAdrian Boguszewski1-6/+6
(bzr r14954.1.19)
2016-06-08Really remove last of svg_units.Tavmjong Bah1-10/+0
(bzr r14964)
2016-06-08Remove unused svg-units variable.Tavmjong Bah1-18/+18
(bzr r14963)
2016-06-04Fix for bug on previous commit about guides lockJabier Arraiza Cenoz1-1/+0
(bzr r14949)
2016-06-03Fix a bug in lock guides pointed by suv on IRCJabier Arraiza Cenoz1-1/+1
(bzr r14948)
2016-06-01Remove last use of getSVGUnit() and remove all remnants of this abomination.Tavmjong Bah1-6/+0
(bzr r14939)
2015-12-28Corrects attribute name for saving page 'checkerboard' background state.Tavmjong Bah1-1/+1
Fixed bugs: - https://launchpad.net/bugs/1529391 (bzr r14556)
2015-12-21Add option for checkerboard background.Tavmjong Bah1-0/+6
Fixed bugs: - https://launchpad.net/bugs/397723 (bzr r14539)
2015-12-09fix crash noticed by TavMarc Jeanmougin1-1/+0
(bzr r14504.1.17)
2015-12-06Fixes UX pointed in suv reviewJabier Arraiza Cenoz1-2/+1
(bzr r14500.1.9)
2015-12-05Changed from Desktop to namedview to handle multiples documentsJabier Arraiza Cenoz1-0/+42
(bzr r14500.1.8)
2015-12-05cppification: GSList replaced by vectors (mostly related to guides and grids)Marc Jeanmougin1-92/+63
(bzr r14504.1.1)
2015-07-15Read inkscape:color attribute in more placesGeoff Lankow1-0/+1
(bzr r14228.1.4)
2015-07-12Reread guide colour after setting default colourGeoff Lankow1-5/+6
(bzr r14228.1.3)
2015-07-11Read attribute after setting the defaultGeoff Lankow1-0/+3
(bzr r14228.1.2)
2015-07-07Read inkscape:color attribute on guidesGeoff Lankow1-1/+0
(bzr r14228.1.1)
2015-04-27Enable snapping of cusp nodes by defaultDiederik van Lierop1-1/+1
(bzr r14061)
2015-03-01if viewbox does not exist in file, set the document-units to be px. (Bug ↵Alvin Penner1-1/+3
1239682) Fixed bugs: - https://launchpad.net/bugs/1239682 (bzr r13955)
2015-02-25create SPObject factoryLiam P. White1-10/+0
(bzr r13939.1.1)
2014-12-21Remove sp_desktop_document and finish cleanup of desktop-handles.hLiam P. White1-5/+5
(bzr r13820)
2014-12-21Purge sp_desktop_canvasLiam P. White1-4/+4
(bzr r13811)
2014-11-26Change getDefaultUnit() to getDisplayUnit() to better reflect value returned ↵Tavmjong Bah1-2/+2
by function. (bzr r13774)
2014-11-26Change default display unit to 'px'.Tavmjong Bah1-1/+1
(bzr r13773)
2014-11-24Units: make it absolutely clear that Document properties unit dropdown is ↵Johan B. C. Engelen1-15/+22
for UI Display Units. Upon document load, calculate the units used for SVG values, if a viewbox is available. If not, default to "px" SVG units. Change all code to use either Display units OR svg units. (bzr r13751)