Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.2
-
None
-
Win7 SP1 x86. Happens on MSVC2015 and MinGW7
Description
I had a long description for this report, and my browser crashed. Also, I notice I've reported a dozen bugs and enhancements, and only two have been fixed. I think many will graduate to being closed without anything being done; due to lack of activity. This seems to be how a lot are closed these days.
Here's the short version: Attached is a project made with QtCreator. It has a QTabWidget with two tabs. Each tab body has a QListWidget. If you switch between the tabs, the currentChanged() slot prints currentRow() and currentItem() for each list. They both start out as -1 for both lists. If you simply select an item in listWidget, currentRow() and currentItem() unexpectedly change to zero in listWidget_2 - when listWidget_2 hasn't been interacted with. This is unexpected, counter-intuitive, and required my recoding of my routines. Also, it was causing a currentChanged() event to fire, where none should have occurred, that was messing me up.
Also, the help should reflect that these values can be -1, and can be set to same.