Merge lp:~fboucault/unity-2d/blueish_images into lp:unity-2d/3.0

Proposed by Florian Boucault
Status: Superseded
Proposed branch: lp:~fboucault/unity-2d/blueish_images
Merge into: lp:unity-2d/3.0
Diff against target: 57 lines (+9/-9)
3 files modified
launcher/LauncherItem.qml (+2/-2)
places/app/places.cpp (+3/-3)
spread/app/spread.cpp (+4/-4)
To merge this branch: bzr merge lp:~fboucault/unity-2d/blueish_images
Reviewer Review Type Date Requested Status
Ricardo Salveti (community) code functional Approve
unity-2d-team Pending
Review via email: mp+46564@code.launchpad.net
To post a comment you must log in.
369. By Florian Boucault

Synchronised comment in places.cpp with spread.cpp.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Minor changes and work as expected.

The packaging bits from this branch is broken, but after fixing and testing on Efika I'm no longer getting blueish pixmaps when using spread.

review: Approve (code functional)
Revision history for this message
Florian Boucault (fboucault) wrote :

@Ricardo, what do you mean by "packaging bits from this branch is broken"?
It is very important that packaging keeps working.

Revision history for this message
Florian Boucault (fboucault) wrote :

@Ricardo, this is the wrong merge request, please see https://code.launchpad.net/~fboucault/unity-2d/blueish_images/+merge/46565

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'launcher/LauncherItem.qml'
--- launcher/LauncherItem.qml 2010-12-01 12:57:57 +0000
+++ launcher/LauncherItem.qml 2011-01-18 03:46:54 +0000
@@ -101,8 +101,8 @@
101 Image {101 Image {
102 id: icon102 id: icon
103103
104 width: 30104 width: 32
105 height: 30105 height: 32
106 anchors.horizontalCenter: parent.horizontalCenter106 anchors.horizontalCenter: parent.horizontalCenter
107 anchors.verticalCenter: parent.verticalCenter107 anchors.verticalCenter: parent.verticalCenter
108 fillMode: Image.PreserveAspectFit108 fillMode: Image.PreserveAspectFit
109109
=== modified file 'places/app/places.cpp'
--- places/app/places.cpp 2011-01-14 20:41:49 +0000
+++ places/app/places.cpp 2011-01-18 03:46:54 +0000
@@ -114,13 +114,13 @@
114{114{
115 /* Forcing graphics system to 'raster' instead of the default 'native'115 /* Forcing graphics system to 'raster' instead of the default 'native'
116 which on X11 is 'XRender'.116 which on X11 is 'XRender'.
117 'XRender' defaults to using a TrueColor visual. We mimick that behaviour117 'XRender' defaults to using a TrueColor visual. We do _not_ mimick that
118 with 'raster' by calling QApplication::setColorSpec.118 behaviour with 'raster' by calling QApplication::setColorSpec because
119 of a bug where some pixmaps become blueish:
119120
120 Reference: https://bugs.launchpad.net/upicek/+bug/674484121 Reference: https://bugs.launchpad.net/upicek/+bug/674484
121 */122 */
122 QApplication::setGraphicsSystem("raster");123 QApplication::setGraphicsSystem("raster");
123 QApplication::setColorSpec(QApplication::ManyColor);
124 QApplication application(argc, argv);124 QApplication application(argc, argv);
125125
126 DashDeclarativeView view;126 DashDeclarativeView view;
127127
=== modified file 'spread/app/spread.cpp'
--- spread/app/spread.cpp 2011-01-14 20:41:34 +0000
+++ spread/app/spread.cpp 2011-01-18 03:46:54 +0000
@@ -37,13 +37,13 @@
3737
38 /* Forcing graphics system to 'raster' instead of the default 'native'38 /* Forcing graphics system to 'raster' instead of the default 'native'
39 which on X11 is 'XRender'.39 which on X11 is 'XRender'.
40 'XRender' defaults to using a TrueColor visual. We mimick that behaviour40 'XRender' defaults to using a TrueColor visual. We do _not_ mimick that
41 with 'raster' by calling QApplication::setColorSpec.41 behaviour with 'raster' by calling QApplication::setColorSpec because
42 of a bug where some pixmaps become blueish:
4243
43 Reference: https://bugs.launchpad.net/upicek/+bug/67448444 https://bugs.launchpad.net/unity-2d/+bug/689877
44 */45 */
45 QApplication::setGraphicsSystem("raster");46 QApplication::setGraphicsSystem("raster");
46 QApplication::setColorSpec(QApplication::ManyColor);
47 QApplication application(argc, argv);47 QApplication application(argc, argv);
4848
49 SpreadView view;49 SpreadView view;

Subscribers

People subscribed via source and target branches