Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect frame duration in last frame in animation mode (3.16 backport) #43715

Closed

Conversation

nyalldawson
Copy link
Collaborator

Manual backport of #43660

uclaros and others added 30 commits June 14, 2021 13:13
The server feature id is a string and can be based on primary key attributes.
The server renderer selection method does not take this into account.
Testing QGIS Sever GetMap request with Postgres layers:
* rendering
* rendering with acces control
* rendering with selection on int pk
* rendering with acces control and selection on int pk
* rendering with selection on bigint pk
* rendering with acces control and selection on bigint pk
When loading a python file in a form on windows, the file is opened using the default system encoding (which may be different than UTF8, at least it wasn't on my tests and on my customer machines).

This patch makes UTF8 the codec used when loading python files from the filesystem before using them for a form.
…s like Feature Source

In Processing parameter description QgsProcessingParameterVectorLayer multi data types does not work as QgsProcessingParameterFeatureSource.
Fixes qgis#43245

SIP failed to convert the QMap<QgsZonalStatistics::Statistic, QVariant>
so we give it an QMap<int, QVariant>.
…res by fids...

and when they are already in the local cache.

Fixes qgis#42049
identify tool, map tips and vertex tool

Fixes qgis#42006

(cherry picked from commit 01d9710)
Co-authored-by: Vincent Cloarec <vcloarec@gmail.com>
Co-authored-by: Vincent Cloarec <vcloarec@gmail.com>
Instead of directly changing the renderer in place in the symbol levels
widget, we delegate responsibility for handling the changes to symbol
levels to the parent QgsRendererWidget subclass. This allows us to
implement different logic in the various subclasses which correctly
handle how that particular widget subclass should update any internal
symbol references and ultimately update the renderer.

Fixes instability and crashes after editing symbol levels.

Fixes qgis#42671

(cherry picked from commit 0ba03bd)
(cherry picked from commit b3f0674)
(cherry picked from commit 9a9b7ee)
which are subrenderers for other renderers

Symbol layers have no effect in this situation (e.g. when a categorized
renderer is used as a subrenderer for point displacement renderer), so
don't show the option in the GUI

(cherry picked from commit a3af108)
lbartoletti and others added 20 commits June 14, 2021 13:13
Properly escape the equal sign in the for /f command and fix a typo in the variable name

(cherry picked from commit 57326cb)
(cherry picked from commit 7d57aee)
Fixes qgis#42909

Setting intial values from previously entered values when
they are equal to the default was pointless anyway because
QgsVectorLayerUtils::createFeature will do that a few lines
below.

Setting the default value for unique constraints
was triggering unique checks for no reason and slowing down
the feature creation up to the point that for large layers
QGIS froze.
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
to uncheck BOTH the filter and else radio buttons
back to a normal rule

Port fixes from rule based renderer else handling to rule based
labeling
When features have a temporal "range", we should never treat
that range as inclusive of the end (or we end up with features
appearing in multiple date ranges)

Completes fixes begun by @rduivenvoorde in qgis#40989

Fixes qgis#38468
The final frame must always have the same duration as other frames,
even if this means we go past the end of the animation range. Also
avoid showing a "zero length" frame at the end of the animation
if the frame duration fits exactly into the overall animation
range.

Fixes qgis#40777

(cherry picked from commit 0221122)
increments, instead of a confusing "zero length" range

Fixes qgis#40868

(cherry picked from commit d0328c2)
@nyalldawson nyalldawson added the Backport Is a backport of another pull request label Jun 14, 2021
@github-actions github-actions bot added this to the 3.20.0 milestone Jun 14, 2021
@nyalldawson nyalldawson added the Frozen Feature freeze - Do not merge! label Jun 20, 2021
@nyalldawson nyalldawson modified the milestones: 3.20.0, 3.16.10 Jun 20, 2021
@nyalldawson nyalldawson removed the Frozen Feature freeze - Do not merge! label Jun 21, 2021
@nyalldawson nyalldawson deleted the backport_43660 branch June 30, 2021 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport Is a backport of another pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.