-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Regression in Dynamic Temporal Controller, "Include Start, Include End" no longer works #48946
Comments
I built 3.22.5 and it does not have this problem. |
This code hasn't been touched recently, and is well protected by regression tests. The issue must lie deeper than the temporal controller... Are you able to provide a sample project for testing? |
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". |
Small project plus profile made with latest "nightly" build downloaded today. Profile name is If you unzip this on a Linux distrubition while in
Video of using the project and profile: qgis-test-1-2022-07-03_17.36.23.mp4
This copy of QGIS writes debugging output. Active Python plugins |
@nyalldawson Here is the request example project where it happens with the latest nightly build from the repo. |
Has anybody had a chance to work on this? |
Sorry, I thought I had attached the file, but it's there now. |
Bump |
1 similar comment
Bump |
Did some research, Indeed 3.22 and master behave differently (master is wrong) by looking at the filters created I see in our debug info:
Some remarks:
It looks (to me) that this commit Apparently our tests did not find this. Have to dive into the actual received value, or maybe somebody can tell if the this casting is actually an issue https://github.com/qgis/QGIS/blob/master/src/core/vector/qgsvectorlayertemporalproperties.cpp#L450 |
Not sure, what exactly is the issue, but there is a (logical) difference if you take a 'date' from a shape (as said: a shp does not have a datetime, only dates) or if you cast it to a datetime:
|
Ok, master and 3.22 are behaving both OK/same if I change
to
on line https://github.com/qgis/QGIS/blob/master/src/core/vector/qgsvectorlayertemporalproperties.cpp#L559 |
Thank you for finding that @rduivenvoorde |
Hey @rduivenvoorde, I just noticed something new while using 3.22.4 from the Ubuntu official repos also has a very similar bug in the attribute table window. When I advance the DTC forward to the very last day of a feature, the feature disappears from the list in the attribute table. Same behaviour, from what I see, as the canvas version of the bug. |
That is expected, as it uses the same 'filter'-string.... I think. |
What is the bug or the crash?
The "Include End" setting in temporal controls for a layer no longer works.
Steps to reproduce the issue
Versions
<style type="text/css"> p, li { white-space: pre-wrap; } </style>This copy of QGIS writes debugging output.
Active Python plugins
QGIS3-getWKT
1.4
geometry_paster
0.1.1
postgisQueryBuilder
2.0.1
actions_for_relations
1.2.0
ClipMultipleLayers
3.2.0
SelectByRelationship
0.3.3
cartography_tools
1.2.1
bettereditor
1.5.0
quick_map_services
0.19.29
GTFS-GO-master
3.0.1
db-style-manager
0.8
splitmultipart
1.0.0
ordered_relation_editor
0.2.7
pg_raster_import
1.0.10
grassprovider
2.12.99
processing
2.12.99
MetaSearch
0.3.6
db_manager
0.1.20
sagaprovider
2.12.99
Supported QGIS version
New profile
Additional context
Ubuntu 20.04 LTS
The text was updated successfully, but these errors were encountered: