Merge lp:~stijnbrouwers/ubuntu/quantal/kamoso/fix-thumbnails into lp:ubuntu/quantal/kamoso

Proposed by Stijn Brouwers
Status: Superseded
Proposed branch: lp:~stijnbrouwers/ubuntu/quantal/kamoso/fix-thumbnails
Merge into: lp:ubuntu/quantal/kamoso
Diff against target: 57 lines (+37/-0)
3 files modified
debian/changelog (+16/-0)
debian/patches/fix-thumbnails.patch (+20/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~stijnbrouwers/ubuntu/quantal/kamoso/fix-thumbnails
Reviewer Review Type Date Requested Status
Sebastien Bacher Needs Information
Ubuntu branches Pending
Review via email: mp+135728@code.launchpad.net

This proposal has been superseded by a proposal from 2012-11-30.

Description of the change

This patch fixes the bug which makes all thumbnails show up as red rectangles

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your work, is that issue reported upstream? Could you update the patch with to file the infos Description/Origin/Bug? Could you also explain what's the issue with the code that are dropping? It was probably added for a reason so it would be good to have some details on why it's not needed anymore and why it's creating issues

review: Needs Information
21. By Stijn Brouwers

debian/patches/fix-thumbnails.patch:
Problem : The thumbnails are shown as red rectangles (LP: #1074958)
Solution : dropped some code.
Explanation of the code dropped:
The code checked a parameter named 'showDecorationSelected'.
judging by the name of the parameter and the functionality, when-
ever a thumbnail is selected, a red rectangle should show behind it.
However, the z-index is not correct (seems to be on top of the image),
and the parameter is not applied correctly (to every thumbnail instead
of only the selected). Because there is already some basic selection,
I just dropped the code that sets the red rectangle.

Revision history for this message
Stijn Brouwers (stijnbrouwers) wrote :

Hi,

First of all, sorry for my lack of information, It is my first time I fixed a bug so... I didn't really know what to do :-)
1. No, I haven't reported anything upstream. How should I do this? Is there some documentation?
2. I just updated the debian/changelog, please check if it is sufficient
3. Also answered by '2.'

Thanks for reviewing this!

Kind regards,

Stijn Brouwers

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the update, could you also change the target vcs to be raring (the current active Ubuntu serie) rather than quantal?

To report the bug upstream, you can find informations on
http://userbase.kde.org/Asking_Questions#Reporting_KDE_Bugs

If you do IRC you can try talking to afiestas on #kubuntu-devel which is upstream for kamoso

Note that apparently kamaso is not buildable at the moment in raring due to changes in the KDE graphics library, it will need to be ported because those fixes can be uploaded

22. By Stijn Brouwers

changed the target vcs from quantal to raring

Revision history for this message
Stijn Brouwers (stijnbrouwers) wrote :

I reported the bug upstream
-> https://bugs.kde.org/show_bug.cgi?id=310936
And I changed the debian/changelog to target raring instead of quantal

Unmerged revisions

22. By Stijn Brouwers

changed the target vcs from quantal to raring

21. By Stijn Brouwers

debian/patches/fix-thumbnails.patch:
Problem : The thumbnails are shown as red rectangles (LP: #1074958)
Solution : dropped some code.
Explanation of the code dropped:
The code checked a parameter named 'showDecorationSelected'.
judging by the name of the parameter and the functionality, when-
ever a thumbnail is selected, a red rectangle should show behind it.
However, the z-index is not correct (seems to be on top of the image),
and the parameter is not applied correctly (to every thumbnail instead
of only the selected). Because there is already some basic selection,
I just dropped the code that sets the red rectangle.

20. By Stijn Brouwers

debian/patches/fix-thumbnails.patch: Fix the bug which makes thumbnails
show as red rectangles. (LP: #1074958)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-06-25 14:50:10 +0000
3+++ debian/changelog 2012-11-30 15:52:23 +0000
4@@ -1,3 +1,19 @@
5+kamoso (2.0.2-1ubuntu3) raring; urgency=low
6+
7+ * debian/patches/fix-thumbnails.patch:
8+ Problem : The thumbnails are shown as red rectangles (LP: #1074958)
9+ Solution : dropped some code.
10+ Explanation of the code dropped:
11+ The code checked a parameter named 'showDecorationSelected'.
12+ judging by the name of the parameter and the functionality, when-
13+ ever a thumbnail is selected, a red rectangle should show behind it.
14+ However, the z-index is not correct (seems to be on top of the image),
15+ and the parameter is not applied correctly (to every thumbnail instead
16+ of only the selected). Because there is already some basic selection,
17+ I just dropped the code that sets the red rectangle.
18+
19+ -- Stijn Brouwers <stijnbrouwers@gmail.com> Thu, 22 Nov 2012 17:00:15 +0100
20+
21 kamoso (2.0.2-1ubuntu2) quantal; urgency=low
22
23 * Suggest instead of recommend kipi-plugins since it has a large set of
24
25=== added file 'debian/patches/fix-thumbnails.patch'
26--- debian/patches/fix-thumbnails.patch 1970-01-01 00:00:00 +0000
27+++ debian/patches/fix-thumbnails.patch 2012-11-30 15:52:23 +0000
28@@ -0,0 +1,20 @@
29+## Description: add some description
30+## Origin/Author: add some origin or author
31+## Bug: bug URL
32+Index: kamoso/src/customDelegate.cpp
33+===================================================================
34+--- kamoso.orig/src/customDelegate.cpp 2012-11-22 15:25:13.159022000 +0100
35++++ kamoso/src/customDelegate.cpp 2012-11-22 17:00:01.305329273 +0100
36+@@ -93,12 +93,6 @@
37+ painter->drawPixmap(QRect(topleft, s), pix);
38+ }
39+
40+- if(option.showDecorationSelected)
41+- {
42+- painter->setBrush(Qt::red);
43+- painter->drawRect(rect);
44+- }
45+-
46+ if(!icons.isEmpty()) {
47+ int count=0, margin=(space-(extent*overlayperline))/2;
48+
49
50=== modified file 'debian/patches/series'
51--- debian/patches/series 2012-06-10 10:44:16 +0000
52+++ debian/patches/series 2012-11-30 15:52:23 +0000
53@@ -2,3 +2,4 @@
54 proper_version_kaboutdata.diff
55 dont_build_plugin_tester.diff
56 fix_ftbfs_libkipi9.patch
57+fix-thumbnails.patch

Subscribers

People subscribed via source and target branches