[MacPorts] #46507: QtCurve update with support for Qt5

MacPorts noreply at macports.org
Tue Nov 1 01:30:07 CET 2016


#46507: QtCurve update with support for Qt5
--------------------------+---------------------------------
  Reporter:  RJVB         |      Owner:  mkae
      Type:  enhancement  |     Status:  accepted
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  haspatch maintainer
      Port:  QtCurve      |
--------------------------+---------------------------------

Comment (by RJVB):

 Replying to [comment:36 mkae]:

 This is all a bit beyond the scope of this ticket (kcmshell5 is a KF5
 port)!

 > For style set to "QtCurve" I just saw this strange error or warning when
 clicking the "Apply" button for the colors:
 > {{{
 > $ kcmshell5 colors
 > QFile::copy: Empty or null file name
 > }}}

 I only see this when I activate the "Mac OS X Graphite" colour scheme, not
 with any of the others. I'll need to investigate where the warning comes
 from, but it appears not to have any adverse effect.

 > As a result the chosen color settings were neither fully kept when
 clicking "Apply" nor after restarting the {{{kcmshell}}}, meaning its
 dialog window had different colors after click and after restarting the
 application than before clicking. This is reproducible - for the various
 styles the behavior is different. So, that's not really consistent yet.

 Do you have the osx-integration port installed? I suppose you have because
 otherwise changing styles in the style dialog shouldn't have any effect at
 all.
 Either way, colour schemes do not work 100% reliably, as you can see with
 the Wonton Soup scheme. It's less obvious when you install the scheme and
 then restart an application like kate5. The side-bar toolview will
 probably maintain a white background, but for me the rest of the
 application takes the Wonton colours. That could well be something hard-
 coded in Qt.

 Qt/Mac simply seems not to like it too much when colour palettes are
 changed at runtime, via an external utility like kcmshell5 . Nothing that
 a restart can't cure, and fortunately this is not something one does very
 frequently. (Apps where this is more frequent usually have a menu with a
 list of the installed colour palettes to chose from, e.g. digiKam).

 > Seeing errors also for the style when clicking "Apply":
 > {{{
 > $ kcmshell5 style
 > QFile::copy: Empty or null file name
 > QObject::killTimer(): Error: timer id 7 is not valid for object
 0x7fd0f4008c00 (QtCurve::Style, qtcurve), timer has not been killed
 > }}}

 The timer message is annoying but  of little consequence. The QFile
 message comes from the colour scheme; it disappears when I have another
 scheme configured when I change styles.

--
Ticket URL: <https://trac.macports.org/ticket/46507#comment:37>
MacPorts <https://www.macports.org/>
Ports system for macOS



More information about the macports-tickets mailing list