| Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
https://gitlab.com/inkscape/inkscape/issues/323 and improve XRay rendering
|
|
|
|
Ensures consistent behavior with previous versions, i.e. before the
switch was introduced in d69b5fe84fd438a218e6198af585f8532f0d8e70.
Try to improve help string.
|
|
The call to
Gdk::Display::get_monitor_at_window()
in
Inkscape::UI::get_monitor_geometry_at_window()
requires the underlying GdkWindow to be fully initialized.
This is achieved by calling "realize()" before attempting to read
that information.
Previously we used to show the window first (which implies realizing
it) which worked around the issue. However it required us to hide
and show it once again later if we wanted to move it in order for
the window manager's routines to sanitize the position to kick in.
|
|
It was accidentally dropped in
8b1840f9507f10911f63fc00b9885354ead99d53
Also show window *after* setting position/size. This gives the
window manager the chance to move an off-screen window back into
the visible desktop bounds (e.g. after a monitor was disconnected).
|
|
|
|
|
|
- add license headers to everything
- convert a few files from public domain or LGPL2.1+ to GPL2+
- some archaeology to clarify which files are from which library
|
|
|
|
The former is guaranteed to be set for any compiler targeting win32,
the latter is implementation dependent (but works for gcc)
See also
http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system
|
|
|
|
This replaces empty constructors and destructors with the default
keyword.
|
|
This replaces all NULL or 0 with nullptr when assigned to or returned as
a pointer.
|
|
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
|
|
|
|
|
|
A lot of header clean-up.
|
|
|
|
- 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
|
|
- 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)
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
Remove rotation via viewbox.
Still some work to do...
(bzr r15603)
|
|
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)
|
|
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)
|
|
(bzr r15470)
|
|
(bzr r15142.1.10)
|
|
(bzr r15142.1.8)
|
|
(bzr r15142.1.7)
|
|
(bzr r15142.1.5)
|
|
(bzr r15142.1.3)
|
|
(bzr r15142.1.1)
|
|
(bzr r15034)
|
|
(bzr r15027)
|
|
(bzr r15025)
|
|
(bzr r14954.1.21)
|
|
(bzr r14954.1.19)
|
|
(bzr r14964)
|
|
(bzr r14963)
|
|
(bzr r14949)
|
|
(bzr r14948)
|
|
(bzr r14939)
|