Comments (11)
Works properly for me (Linux, Qt 5.15.4). Please report your OS and Qt versions (you can also experiment slightly with the latter).
from orange-widget-base.
Interestingly, your screenshot shows that there was one instant when the whole text was selected and then it changed. :)
from orange-widget-base.
I can reproduce it on macOS Big Sur with both qt versions: 5.12, 5.15
For me it does not look that we are doing something wrong with listView -- it looks like more Qt issue
from orange-widget-base.
It is definitely PyQt - Qt issue. I can reproduce it in a simple application that does not use any orange widget component.
from PyQt5.QtWidgets import QApplication, QLineEdit
import sys
app = QApplication(sys.argv)
window = QLineEdit()
window.show()
app.exec()
from orange-widget-base.
We can't do anything then, and can close the issue, right?
from orange-widget-base.
We should find the corresponding Qt bug, if it exists, else file one. If the bug appears in pure Qt, we'd need to file a bug to the Qt, else PyQt.
from orange-widget-base.
Looks like this? https://bugreports.qt.io/browse/QTBUG-75902
from orange-widget-base.
Yes, even though the report says "Linux", but I am experiencing it on OSX. But yes, the same thing.
from orange-widget-base.
Ok, so we can't do much about it, and worse, Qt 5.15 might not ever fix the bug. @ajdapretnar or @PrimozGodec, could you check what happens in PyQt6? So that we know what we expect in the future, or even report a Qt bug.
Just install it PyQt6 (to be safe, perhaps a new environment), run the following code, and check how the selection works.
from PyQt6.QtWidgets import *
app = QApplication([])
label = QLineEdit('Hello World!')
label.show()
app.exec()
from orange-widget-base.
It works very well with PyQt6.
from orange-widget-base.
So we can close this issue for now.
from orange-widget-base.
Related Issues (20)
- Override cursor handling in spinbox and autocommit is buggy ... HOT 2
- gui.TabWidget renders poorly HOT 9
- Widget geometry should be saved together with other Settings
- ControlAreaVisible is not applied if save_position=False
- Explicit Orange3 import
- Add no shadow option?
- Opening a workflow results in many crashes HOT 3
- No module named PyQtWebEngineCore HOT 1
- ColoredBarItemDelegate: Crashes on data with missing values
- ARIMA Model Widget AttributeError: 'NoneType' object has no attribute 'control' HOT 1
- ListViewSearch: Does not filter on changed data HOT 1
- Visual settings need to be documented HOT 1
- Indicate uncommitted changes at the widget and canvas levels HOT 4
- Images in reports are too large HOT 1
- LDAvis: error on report (blank ldavis)
- ErrorReporting.handle_exception: causes segfault HOT 2
- Retain column width in QTableView HOT 1
- Show Help in widget does not work (on macOS?) HOT 3
- Error caused by `_bind_messages` when widget class includes a DataFrame-type attribute HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orange-widget-base.