-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Relation Editor Widget always jumps to first feature when editing #46730
Comments
Here is a little sample project with points and lines representing the issue. |
@gioman What is the feedback you need? |
@esnyder-rve I was about to leave a comment: I can't either 1) understand ow to replicate the described behavior with the provided sample project or 2) can't replicate |
2022-01-07.09-34-31.mp4So, what I'm doing here is attempting to edit a field in Line 102 through the relation widget in Point 2. For some reason, the currently selected feature in the relation editor doesn't want to highlight in the list with the clean profile (unlike the real data version first attached with dark theme). I go to the Identify Form for Point 2 and select Line 102 in the Relation Widget (again not highlighted in the form for some reason) and increment the Number field. Changing the field will reset the widget back to the first feature on the list (which is Line 101). |
@esnyder-rve thanks now is clear.
@esnyder-rve I would report this as a separate UI issue of the default theme. |
@gioman Oddly, this issue also exists when I switch to the Night Mapping theme for the clean profile. I don't know what's going on there, but I'll report that separately. Were you also experiencing the lack of highlighting on your end? |
@esnyder-rve yes |
I wonder if it's something a plugin could provide as the original video was from my default profile with the following plugins: Active Python plugins |
Maybe related to #43902 |
I realised the same issue. I have a related table and when I edit a row, different from the first one, it goes back to the first everytime I try to fill a field directly in the form widget. |
Hello ! I have the exact same issue with a project in QGis 3.24.0 and QGis 3.22.2 but everything seems good with the same project in QGis 3.20 |
Seems fixed in the latest master (94b62ac). |
Just tested, I can confirm that this has been fixed. The UI issue stated still has not, but that is a separate issue (#46751). |
What is the bug or the crash?
Editing a field in the relation editor widget always sends to the first feature on the list while typing/editing a field. This is only noticeable if your not editing the first feature in the list.
Steps to reproduce the issue
In either the identify popup, or the form view on the attribute table, attempt to edit a field of a second feature in the list (something like text, or a number)
2022-01-06.15-36-10.mp4
In the video above, I first change the dropdown list item for the second "Incoming Pipe", then change the Downstream Rim to Invert field to
1.23
Versions
QGIS version
3.22.2-Białowieża
QGIS code revision
1601ec4
Qt version
5.15.2
Python version
3.9.5
Compiled against GDAL/OGR
3.4.0
Running against GDAL/OGR
3.4.1
Compiled against PROJ
8.2.0.%3.%4
Running against PROJ
8.2.1
EPSG Registry database version
v10.041 (2021-12-03)
GEOS version
3.10.0-CAPI-1.16.0
SQLite version
3.35.2
PDAL version
2.3.0
PostgreSQL client version
13.0
SpatiaLite version
5.0.1
QWT version
6.1.3
QScintilla2 version
2.11.5
OS version
Windows 10 Version 2009
Active Python plugins
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.5
processing
2.12.99
sagaprovider
2.12.99
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: