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

QWidget::setTabOrder logging to stdout when dialogs are open #693

Closed
sssoleileraaa opened this issue Jan 10, 2020 · 7 comments
Closed

QWidget::setTabOrder logging to stdout when dialogs are open #693

sssoleileraaa opened this issue Jan 10, 2020 · 7 comments
Labels
bug Something isn't working

Comments

@sssoleileraaa
Copy link
Contributor

STR

  1. Click on "Print" or "Export" and see log message: QWidget::setTabOrder: 'first' and 'second' must be in the same window

STR 2

  1. Open the client in Offline mode
  2. Click on SIGNIN to open the login dialog and see log message: QWidget::setTabOrder: 'first' and 'second' must be in the same window
@sssoleileraaa sssoleileraaa added the bug Something isn't working label Jan 10, 2020
@sssoleileraaa sssoleileraaa changed the title QWidget::setTabOrder logging to stdout during Export flow QWidget::setTabOrder logging to stdout when dialogs are open Jan 10, 2020
@ntoll
Copy link
Contributor

ntoll commented Jan 16, 2020

@creviera ack.

@ntoll
Copy link
Contributor

ntoll commented Feb 3, 2020

OK... I cannot reproduce this. Perhaps code in the client has changed in some way. However, I can reproduce #697 as reported by @kushal. In any case, I've looked into the cause of this error message and the only reference to it with any meaningful context is from 2009 (https://www.qtcentre.org/threads/18033-QWidget-setTabOrder-question) and an older version of Qt.

I'll see what I can salvage from the old conversation referenced above and check our code in the SourceList/SourceWidget classes. Something about setting the tab layout after calling setLayout.

@ntoll
Copy link
Contributor

ntoll commented Feb 3, 2020

TL;DR: is this really worth the rabbit-hole exploration required to remove such warnings..? I suggest we mark as "won't fix" because the benefit will cost lots more investigation.

Further investigation reveals:

I'm confused that window should be different for two SourceWidget widgets in the same SourceList.

My advice is to mark this is "won't fix" since it's only emitting to stdout (which the user won't see) and the logic surrounding the window feels like a can of worms.

@redshiftzero
Copy link
Contributor

fair, I'll remove this ticket from the sprint and mark as low priority

@eloquence
Copy link
Member

Could there be any relation with #352?

@sssoleileraaa
Copy link
Contributor Author

I can no longer repro the original STRs but we saw the same behavior when switching between sources in the sourcelist, which I just confirmed #1261 fixes. Since #1261 has been merged, I'm closing this issue.

@gonzalo-bulnes
Copy link
Contributor

I hadn't seen this issue! Yes, it does look like #1261 a lot. I understood well the ordering requirement @creviera, so if helpful I'm happy to walk you or someone else through it if it shows up again 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants