Re: [Interest] About Qt StyleSheet

2016-05-31 Thread Berkay Elbir
Oh, I see Thank you for response. Regards, Berkay On Wed, Jun 1, 2016 at 9:07 AM, Julius Bullinger wrote: > As said in the [development] thread, this is most probably > https://bugreports.qt.io/browse/QTBUG-52230, which is fixed in Qt 5.6.1 > (to be released in a few days). > > > > Best regar

[Interest] Question about advice regarding dynamicSortFilter of QSFPM in the docs

2016-05-31 Thread Elvis Stansvik
Hi all, I've used QSortFilterProxyModel in the past, but it was quite a while ago and now I'm a little confused by the advice given in the docs. The description of the dynamicSortFilter property [1] reads: "Note that you should not update the source model through the proxy model when dynamicSort

Re: [Interest] About Qt StyleSheet

2016-05-31 Thread Julius Bullinger
As said in the [development] thread, this is most probably https://bugreports.qt.io/browse/QTBUG-52230, which is fixed in Qt 5.6.1 (to be released in a few days). Best regards, Julius ___ Interest mailing list Interest@qt-project.org http://lists.qt-p

Re: [Interest] QDBusConnection::sessionBus() : caching required?

2016-05-31 Thread Thiago Macieira
On quarta-feira, 1 de junho de 2016 00:07:18 BRT René J. V. Bertin wrote: > Here's another observation (& backtrace) potentially to be taken into > account for your fix: when I don't get a crash-on-exit I often get a > deadlock like so: Make sure you've applied the fix that the change I sent depe

Re: [Interest] QDBusConnection::sessionBus() : caching required?

2016-05-31 Thread René J . V . Bertin
Thiago Macieira wrote: > You can call multiple times and you'll always get the same connection. OK, thanks. Here's another observation (& backtrace) potentially to be taken into account for your fix: when I don't get a crash-on-exit I often get a deadlock like so: * frame #0: 0x7fff85129

Re: [Interest] QDBusConnection::sessionBus() : caching required?

2016-05-31 Thread Thiago Macieira
On terça-feira, 31 de maio de 2016 23:12:15 BRT René J. V. Bertin wrote: > Using QtDBus during global destruction aside, can one use > QDbusConnection::sessionBus() multiple times or will that create so many > connections to the session bus? The documentation doesn't seem to make that > explicit, a

Re: [Interest] QDBusConnection::sessionBus() : caching required?

2016-05-31 Thread René J . V . Bertin
Thiago Macieira wrote: >> It's not correct practice. >> >> The problem is attempting to use QtDBus during global destruction. >> Apparently QtDBus has already destroyed its internals. >> >> I can add a few protections for that. > > https://codereview.qt-project.org/161056 Ah, thanks for the quic

Re: [Interest] QDBusConnection::sessionBus() : caching required?

2016-05-31 Thread Thiago Macieira
On terça-feira, 31 de maio de 2016 17:26:04 BRT Thiago Macieira wrote: > On terça-feira, 31 de maio de 2016 21:27:59 BRT René J.V. Bertin wrote: > > just like the ctor does when setting up DBus. Is that correct practice or > > should one somehow cache the result of sessionBus() in order to call it

Re: [Interest] QDBusConnection::sessionBus() : caching required?

2016-05-31 Thread Thiago Macieira
On terça-feira, 31 de maio de 2016 21:27:59 BRT René J.V. Bertin wrote: > just like the ctor does when setting up DBus. Is that correct practice or > should one somehow cache the result of sessionBus() in order to call it > only once? It's not correct practice. The problem is attempting to use Qt

[Interest] QDBusConnection::sessionBus() : caching required?

2016-05-31 Thread René J . V . Bertin
Hi, I had a crash in QDBusConnection::sessionBus() earlier today, called from a dtor in a style plugin. The traceback showed a NULL "this" pointer (frame #12): frame #4: 0x7fff8b9035aa libsystem_platform.dylib`_sigtramp + 26 frame #5: 0x00010a30b15f QtCore`QMutex::lock() [inlined

[Interest] 5.7 QWebChannel - question/observation

2016-05-31 Thread Kevin Mcintyre
With a webenginepage across page loads I needed to setWebChannel(None) setWebChannel(channel) # new channel between each request. Otherwise I would get an error message "qt is not defined" when executing the script. Are channels suppose to be available across the llifecycle of the WebEnginePage

Re: [Interest] About Qt StyleSheet

2016-05-31 Thread Berkay Elbir
Hi, Actually, I think that problem is not related to any styles. If I write this: ui.newGroupNameLabel->setStyleSheet(" "); also it does not have to be QLabel. If I use QLineEdit, same problem occurs. Scenario is like that If I call this code piece in constructor than everything is fine and you

Re: [Interest] QTreeView expand icon changes unexpectedly Qt5.6.0 & VS2015

2016-05-31 Thread Olivier B.
Are you sure it is not https://bugreports.qt.io/browse/QTBUG-52230 ? 2016-05-28 22:59 GMT+02:00 Ben Swerts : > Hi Anton, > > I noticed the same issue with VS2015 Update 2 and Qt 5.6.0 (commercial). > Your post made me realize this seems to be related to the combination of > these two tools. > Our

Re: [Interest] About Qt StyleSheet

2016-05-31 Thread Elvis Stansvik
2016-05-31 16:20 GMT+02:00 André Somers : > Hi, > > What I _think_ happens is that you currently are using a style that does > not support style sheets. Only build in styles do, up to a point. If you > then apply a style sheet, Qt probably switches to a fall-back style that > _does_ support style

Re: [Interest] About Qt StyleSheet

2016-05-31 Thread André Somers
Hi, What I _think_ happens is that you currently are using a style that does not support style sheets. Only build in styles do, up to a point. If you then apply a style sheet, Qt probably switches to a fall-back style that _does_ support style sheets, but that has an effect on other widgets as

[Interest] About Qt StyleSheet

2016-05-31 Thread Berkay Elbir
Hello All, I have a problem about Qt Stylesheets. I use this code piece, this is a QLabel inside a QDialog. ui.newGroupNameLabel->setStyleSheet("QLabel { color : black; }"); I also tried giving it a name usingQObject::setObjectName() and use an ID Selector to refer to it. But it still occurs. I

Re: [Interest] widget rendering (alignment, sizing) issues on OS X

2016-05-31 Thread René J . V . Bertin
On Monday May 30 2016 15:22:50 Adam Light wrote: Hi, >To address this in our application, we use a QProxyStyle subclass in which >we reimplement layoutSpacing on Macintosh like so: > > if (spacing > 2) { > spacing /= 2; > } You're full of interes