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

expression coding hint is blocking the cursor line #58720

Open
2 tasks done
Jeroen-GroeneBij opened this issue Sep 13, 2024 · 1 comment
Open
2 tasks done

expression coding hint is blocking the cursor line #58720

Jeroen-GroeneBij opened this issue Sep 13, 2024 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Field Calculator GUI/UX Related to QGIS application GUI or User Experience Python Console Python Console

Comments

@Jeroen-GroeneBij
Copy link

What is the bug or the crash?

Often, when typing an expression in the expression builder, there is a coding hint popping up, suggesting the next part of the expression. However, also often this is actually blocking the line where the cursor is, so you can't see what your typing.

afbeelding

It would be nice if this coding hint is moved to somewhere where it doesn't block the cursor.
For instance, the autocomplete suggestions are always below the cursor.
afbeelding

Steps to reproduce the issue

Open the expression builder, and start building an expression which uses multiple elements, such as concatenate.
Start writing the expression, and type , after the first element. This will trigger the coding hint.
It will not always block the cursor line, or sometimes block it partially, but at times it will block the cursor line. This behaviour might be dependent on screen sizes, resolutions, or interface settings.

Therefore I think it would be great to move the coding hint to somewhere were it will for sure not block the cursor line.

Versions

<style type="text/css"> p, li { white-space: pre-wrap; } </style>
QGIS-versie 3.38.2-Grenoble QGIS code revisie 130c432
Qt versie 5.15.13
Python versie 3.12.5
GDAL/OGR versie 3.9.2
PROJ versie 9.4.0
EPSG-register databaseversie v11.004 (2024-02-24)
GEOS versie 3.12.2-CAPI-1.18.2
SQLite versie 3.45.1
PDAL versie 2.6.3
PostgreSQL client versie 16.2
SpatiaLite versie 5.1.0
QWT versie 6.2.0
QScintilla2 versie 2.14.1
OS versie Windows 10 Version 2009
       
Actieve Python plug-ins
db_manager 0.1.20
grassprovider 2.12.99
MetaSearch 0.3.6
processing 2.12.99
QGIS-versie 3.38.2-Grenoble QGIS code revisie [130c432](https://github.com/qgis/QGIS/commit/130c432394) Qt versie 5.15.13 Python versie 3.12.5 GDAL/OGR versie 3.9.2 PROJ versie 9.4.0 EPSG-register databaseversie v11.004 (2024-02-24) GEOS versie 3.12.2-CAPI-1.18.2 SQLite versie 3.45.1 PDAL versie 2.6.3 PostgreSQL client versie 16.2 SpatiaLite versie 5.1.0 QWT versie 6.2.0 QScintilla2 versie 2.14.1 OS versie Windows 10 Version 2009

Actieve Python plug-ins
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.6
processing
2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@Jeroen-GroeneBij Jeroen-GroeneBij added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Sep 13, 2024
@agiudiceandrea agiudiceandrea added GUI/UX Related to QGIS application GUI or User Experience Python Console Python Console Field Calculator labels Sep 13, 2024
@agiudiceandrea
Copy link
Contributor

The issue also occurs using the Python console
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Field Calculator GUI/UX Related to QGIS application GUI or User Experience Python Console Python Console
Projects
None yet
Development

No branches or pull requests

2 participants