summaryrefslogtreecommitdiffstats
path: root/src/sp-namedview.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-1188/+0
| | | | A lot of header clean-up.
* Limit default window size to monitor dimensionsEduard Braun2018-01-071-0/+10
|
* Make natural window size default and fix small window sizeEduard Braun2018-01-071-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
* Use proper monitor for deriving geometryEduard Braun2018-01-071-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)
* Switch sp-namedview.cpp to use the convenience functionEduard Braun2018-01-071-16/+2
|
* Let GTK+ / window managers handle window position sanitizingEduard Braun2018-01-071-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.
* Make stored geometry and default window size enumsEduard Braun2018-01-071-10/+12
|
* Namedview: Use proper monitor to derive monitor_geometryEduard Braun2018-01-071-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.
* Use a macro for GtkMM version checksAlexander Valavanis2017-12-251-3/+3
|
* Fix bug#1643179. Guides lock lost on load. Patch proposed in #5Jabier Arraiza2017-12-051-7/+6
|
* Prevent crash when get_primary_monitor() returns nullptr. (Second place.)Tavmjong Bah2017-07-121-1/+5
|
* GdkScreen deprecation fixesAlexander Valavanis2017-06-271-10/+36
|
* Implement rotation via desktop to window affine.Tavmjong Bah2017-03-201-97/+1
| | | | | | Remove rotation via viewbox. Still some work to do... (bzr r15603)
* Replace rectangle based zooming by affine based zooming.Tavmjong Bah2017-03-131-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)
* Fix and improve window sizing and positioning behavior when opening new ↵Eduard Braun2017-02-111-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)
* Disable rotate guides in doc rotationJabiertxof2017-02-041-21/+21
| | | (bzr r15470)
* Add some Vlava improvements from mailing listJabier Arraiza Cenoz2016-11-011-0/+24
|\ | | | | (bzr r15142.1.28)
* | Fix some canvas item problems and refresh items on rotateJabier Arraiza Cenoz2016-10-101-4/+10
| | | | | | (bzr r15142.1.10)
* | Fix some canvas problems and refactorizationJabier Arraiza Cenoz2016-10-101-2/+35
| | | | | | (bzr r15142.1.8)
* | Added widget to to rotateJabier Arraiza Cenoz2016-10-091-5/+4
| | | | | | (bzr r15142.1.7)
* | Keep selectionJabier Arraiza Cenoz2016-10-081-28/+15
| | | | | | (bzr r15142.1.5)
* | add rotate from current desktop centerJabier Arraiza Cenoz2016-10-081-19/+21
| | | | | | (bzr r15142.1.3)
* | Doc rotate startJabier Arraiza Cenoz2016-10-021-1/+46
|/ | | (bzr r15142.1.1)
* Merged trunkAdrian Boguszewski2016-08-031-2/+0
|\ | | | | (bzr r14954.1.29)
| * Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-2/+0
| | | | | | (bzr r15034)
| * Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-0/+2
| | | | | | (bzr r15027)
| * Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-2/+0
| | | | | | (bzr r15025)
* | Renamed children list in SPObjectAdrian Boguszewski2016-07-141-2/+2
| | | | | | (bzr r14954.1.21)
* | Second part of new SPObject children listAdrian Boguszewski2016-07-131-6/+6
|/ | | (bzr r14954.1.19)
* Really remove last of svg_units.Tavmjong Bah2016-06-081-10/+0
| | | (bzr r14964)
* Remove unused svg-units variable.Tavmjong Bah2016-06-081-18/+18
| | | (bzr r14963)
* Fix for bug on previous commit about guides lockJabier Arraiza Cenoz2016-06-041-1/+0
| | | (bzr r14949)
* Fix a bug in lock guides pointed by suv on IRCJabier Arraiza Cenoz2016-06-031-1/+1
| | | (bzr r14948)
* Remove last use of getSVGUnit() and remove all remnants of this abomination.Tavmjong Bah2016-06-011-6/+0
| | | (bzr r14939)
* Corrects attribute name for saving page 'checkerboard' background state.Tavmjong Bah2015-12-281-1/+1
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1529391 (bzr r14556)
* Add option for checkerboard background.Tavmjong Bah2015-12-211-0/+6
| | | | | | Fixed bugs: - https://launchpad.net/bugs/397723 (bzr r14539)
* fix crash noticed by TavMarc Jeanmougin2015-12-091-1/+0
| | | (bzr r14504.1.17)
* update to trunk + resolve conflictsMarc Jeanmougin2015-12-081-0/+41
|\ | | | | (bzr r14504.1.9)
| * Fixes UX pointed in suv reviewJabier Arraiza Cenoz2015-12-061-2/+1
| | | | | | (bzr r14500.1.9)
| * Changed from Desktop to namedview to handle multiples documentsJabier Arraiza Cenoz2015-12-051-0/+42
| | | | | | (bzr r14500.1.8)
* | cppification: GSList replaced by vectors (mostly related to guides and grids)Marc Jeanmougin2015-12-051-92/+63
|/ | | (bzr r14504.1.1)
* Read inkscape:color attribute in more placesGeoff Lankow2015-07-151-0/+1
| | | (bzr r14228.1.4)
* Reread guide colour after setting default colourGeoff Lankow2015-07-121-5/+6
| | | (bzr r14228.1.3)
* Read attribute after setting the defaultGeoff Lankow2015-07-111-0/+3
| | | (bzr r14228.1.2)
* Read inkscape:color attribute on guidesGeoff Lankow2015-07-071-1/+0
| | | (bzr r14228.1.1)
* Enable snapping of cusp nodes by defaultDiederik van Lierop2015-04-271-1/+1
| | | (bzr r14061)
* if viewbox does not exist in file, set the document-units to be px. (Bug ↵Alvin Penner2015-03-011-1/+3
| | | | | | | | 1239682) Fixed bugs: - https://launchpad.net/bugs/1239682 (bzr r13955)
* create SPObject factoryLiam P. White2015-02-251-10/+0
| | | (bzr r13939.1.1)
* Remove sp_desktop_document and finish cleanup of desktop-handles.hLiam P. White2014-12-211-5/+5
| | | (bzr r13820)
* Purge sp_desktop_canvasLiam P. White2014-12-211-4/+4
| | | (bzr r13811)