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
1=== modified file 'launcher/LauncherItem.qml'
2--- launcher/LauncherItem.qml 2010-12-01 12:57:57 +0000
3+++ launcher/LauncherItem.qml 2011-01-18 03:46:54 +0000
4@@ -101,8 +101,8 @@
5 Image {
6 id: icon
7
8- width: 30
9- height: 30
10+ width: 32
11+ height: 32
12 anchors.horizontalCenter: parent.horizontalCenter
13 anchors.verticalCenter: parent.verticalCenter
14 fillMode: Image.PreserveAspectFit
15
16=== modified file 'places/app/places.cpp'
17--- places/app/places.cpp 2011-01-14 20:41:49 +0000
18+++ places/app/places.cpp 2011-01-18 03:46:54 +0000
19@@ -114,13 +114,13 @@
20 {
21 /* Forcing graphics system to 'raster' instead of the default 'native'
22 which on X11 is 'XRender'.
23- 'XRender' defaults to using a TrueColor visual. We mimick that behaviour
24- with 'raster' by calling QApplication::setColorSpec.
25+ 'XRender' defaults to using a TrueColor visual. We do _not_ mimick that
26+ behaviour with 'raster' by calling QApplication::setColorSpec because
27+ of a bug where some pixmaps become blueish:
28
29 Reference: https://bugs.launchpad.net/upicek/+bug/674484
30 */
31 QApplication::setGraphicsSystem("raster");
32- QApplication::setColorSpec(QApplication::ManyColor);
33 QApplication application(argc, argv);
34
35 DashDeclarativeView view;
36
37=== modified file 'spread/app/spread.cpp'
38--- spread/app/spread.cpp 2011-01-14 20:41:34 +0000
39+++ spread/app/spread.cpp 2011-01-18 03:46:54 +0000
40@@ -37,13 +37,13 @@
41
42 /* Forcing graphics system to 'raster' instead of the default 'native'
43 which on X11 is 'XRender'.
44- 'XRender' defaults to using a TrueColor visual. We mimick that behaviour
45- with 'raster' by calling QApplication::setColorSpec.
46+ 'XRender' defaults to using a TrueColor visual. We do _not_ mimick that
47+ behaviour with 'raster' by calling QApplication::setColorSpec because
48+ of a bug where some pixmaps become blueish:
49
50- Reference: https://bugs.launchpad.net/upicek/+bug/674484
51+ https://bugs.launchpad.net/unity-2d/+bug/689877
52 */
53 QApplication::setGraphicsSystem("raster");
54- QApplication::setColorSpec(QApplication::ManyColor);
55 QApplication application(argc, argv);
56
57 SpreadView view;

Subscribers

People subscribed via source and target branches