Re: [Interest] "QXcbClipboard::setMimeData: Cannot set X11 selection owner"

2018-03-07 Thread Thiago Macieira
On Wednesday, 7 March 2018 07:36:43 PST René J. V. Bertin wrote: > Thiago Macieira wrote: > > Obviously no GTK application is going to print something about > > "QXcbClipboard". > > Yeah, DOH :) I don't have the GTk sources on my system currently but it's > likely that somewhere there will be a

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-07 Thread Jason H
> Sent: Wednesday, March 07, 2018 at 8:10 AM > From: "Uwe Rathmann" > To: interest@qt-project.org > Subject: Re: [Interest] How to render small Images decently on non retina > displays with QtQuick? > > Hi Shawn, > ... > > I once derived a small class from QQuickImage

Re: [Interest] KDE's qqc2-desktop-style

2018-03-07 Thread Jason H
> Sent: Wednesday, March 07, 2018 at 8:53 AM > From: "Nikos Chantziaras" > To: interest@qt-project.org > Subject: Re: [Interest] KDE's qqc2-desktop-style > > On 06/03/18 19:45, Jason H wrote: > > https://api.kde.org/frameworks/qqc2-desktop-style/html/index.html > > So this

Re: [Interest] "QXcbClipboard::setMimeData: Cannot set X11 selection owner"

2018-03-07 Thread René J . V . Bertin
Thiago Macieira wrote: > Yes, it's likely. That doesn't mean GTK prints something as a result of that. No, but I don't care about the error message in itself. > And this symptom doesn't happen with GTK? And no, which is what I meant when I said that those applications aren't affected (I use

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-07 Thread Uwe Rathmann
On Wed, 07 Mar 2018 20:55:03 +0100, Jason H wrote: > How is QPicture not appropriate for SVG? At the time, when Qt changed its APIs from integers to doubles ( Qt 4 ) QPicture::boundingRect() was forgotten, what makes layouting of scaled pictures too inaccurate. Another important detail are

Re: [Interest] KDE's qqc2-desktop-style

2018-03-07 Thread Nikos Chantziaras
On 07/03/18 18:21, Sérgio Martins wrote: On 2018-03-06 17:45, Jason H wrote: https://api.kde.org/frameworks/qqc2-desktop-style/html/index.html So this combines QStyle with QML, so QML can be more widget like. Can this be a part of Qt? Only if you give reasons for it to be in qt-project rather

Re: [Interest] Qt/Mac : what about a (the) Window menu?

2018-03-07 Thread René J . V . Bertin
Here's a small PoC patch to the Cocoa QPA (5.9) which adds a Windows (sic) menu: https://github.com/RJVB/osx-integration/blob/qt590/src/qcocoa-qpa/patches/33-patch-add-windows-submenu.diff I don't think it will be trivial to create the standard Window menu that sits just left of the Help menu

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-07 Thread Nuno Santos
Uwe, Thanks for things insight! Regards, Nuno > On 7 Mar 2018, at 08:08, Uwe Rathmann wrote: > > On Tue, 06 Mar 2018 16:55:23 +, Nuno Santos wrote: > >> I just had to add it to resources and pass it to the image element. > > Using Image works, but its

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-07 Thread Uwe Rathmann
On Tue, 06 Mar 2018 16:55:23 +, Nuno Santos wrote: > I just had to add it to resources and pass it to the image element. Using Image works, but its implementation is far from being optimal in combination with SVGs. For small applications with only few SVGs this might be no problem, but

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-07 Thread Xavier Bigand
This is good to know, I personally never fall in a such case, but I will keep that in a corner of my head. Thank you. 2018-03-07 9:08 GMT+01:00 Uwe Rathmann : > On Tue, 06 Mar 2018 16:55:23 +, Nuno Santos wrote: > > > I just had to add it to resources and pass it

Re: [Interest] KDE's qqc2-desktop-style

2018-03-07 Thread Nikos Chantziaras
On 06/03/18 19:45, Jason H wrote: https://api.kde.org/frameworks/qqc2-desktop-style/html/index.html So this combines QStyle with QML, so QML can be more widget like. Can this be a part of Qt? This is just for KDE though, right? Interestingly, KDE is the only platform where my Qt applications

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-07 Thread Uwe Rathmann
Hi Shawn, > It should also be considered a bug IMO. The only obvious part of the whole disaster that IMO qualifies as a "bug" is the fact, that binding a size ends up in 2 calls - but AFAIK this is not specific to QQuickImage. Maybe one could say, that QQuickImage shouldn't do any updates

[Interest] "QXcbClipboard::setMimeData: Cannot set X11 selection owner"

2018-03-07 Thread René J . V . Bertin
Hi, Apologies if I've asked this before: any idea what could cause this error message? QXcbClipboard::setMimeData: Cannot set X11 selection owner I'm seeing this sporadically in applications connected to an XQuartz X11 server that has been running for a certain time. It always seem to affect

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-07 Thread Shawn Rutledge
> On 7 Mar 2018, at 09:08, Uwe Rathmann wrote: > > On Tue, 06 Mar 2018 16:55:23 +, Nuno Santos wrote: > >> I just had to add it to resources and pass it to the image element. > > Using Image works, but its implementation is far from being optimal in >

Re: [Interest] "QXcbClipboard::setMimeData: Cannot set X11 selection owner"

2018-03-07 Thread Thiago Macieira
On Wednesday, 7 March 2018 03:21:45 PST René J.V. Bertin wrote: > QXcbClipboard::setMimeData: Cannot set X11 selection owner > > I'm seeing this sporadically in applications connected to an XQuartz X11 > server that has been running for a certain time. It always seem to affect > all the

Re: [Interest] "QXcbClipboard::setMimeData: Cannot set X11 selection owner"

2018-03-07 Thread René J . V . Bertin
Thiago Macieira wrote: > Obviously no GTK application is going to print something about > "QXcbClipboard". Yeah, DOH :) I don't have the GTk sources on my system currently but it's likely that somewhere there will be a call to xcb_set_selection_owner() in there too, no? That's where the error

Re: [Interest] KDE's qqc2-desktop-style

2018-03-07 Thread Jean-Michaël Celerier
> This is just for KDE though, right? No, it works pretty much everywhere and has no kde dependencies in the plug-in code : https://github.com/KDE/qqc2-desktop-style/tree/master/plugin --- Jean-Michaël Celerier http://www.jcelerier.name On Wed, Mar 7, 2018 at 2:53 PM, Nikos Chantziaras

Re: [Interest] Qt/Mac : what about a (the) Window menu?

2018-03-07 Thread René J . V . Bertin
Nikos Chantziaras wrote: > In other words, don't use QML for desktop applications if you can avoid > it :-/ I wouldn't... > It looks like the standard Windows menu to me in Assistant (Qt 5.8)? We > get the standard menu in our application too, which is exactly what we want. I suppose that's

Re: [Interest] KDE's qqc2-desktop-style

2018-03-07 Thread Sérgio Martins
On 2018-03-06 17:45, Jason H wrote: https://api.kde.org/frameworks/qqc2-desktop-style/html/index.html So this combines QStyle with QML, so QML can be more widget like. Can this be a part of Qt? Only if you give reasons for it to be in qt-project rather than in KDE (assuming the maintainer

Re: [Interest] KDE's qqc2-desktop-style

2018-03-07 Thread Nikos Chantziaras
On 07/03/18 17:49, Jean-Michaël Celerier wrote: > This is just for KDE though, right? No, it works pretty much everywhere and has no kde dependencies in the plug-in code : https://github.com/KDE/qqc2-desktop-style/tree/master/plugin That does sound like a good solution for Qt Quick desktop