Bug 345883 - 0.9.1 Apper overlapping messages while downloading
Summary: 0.9.1 Apper overlapping messages while downloading
Status: RESOLVED UNMAINTAINED
Alias: None
Product: apper
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Daniel Nicoletti
URL:
Keywords:
: 355723 357167 363076 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-05 08:59 UTC by Germano Massullo
Modified: 2021-09-08 09:26 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (39.71 KB, image/jpeg)
2015-04-05 08:59 UTC, Germano Massullo
Details
Apper using the Oxygen style (73.19 KB, image/png)
2015-06-13 13:22 UTC, Wolfgang Bauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Germano Massullo 2015-04-05 08:59:02 UTC
KDE Plasma 5's Apper download messages overlaps, see attached screenshot.

Reproducible: Always
Comment 1 Germano Massullo 2015-04-05 08:59:19 UTC
Created attachment 91893 [details]
screenshot
Comment 2 Wolfgang Bauer 2015-06-13 13:03:24 UTC
I can confirm the problem here, and it also has been reported in openSUSE's bugzilla:
http://bugzilla.opensuse.org/show_bug.cgi?id=932204

But it only seems to happen with the Breeze widget style. If you switch to something else (Oxygen e.g.), everything looks fine.
So this might be a bug in the Breeze style. Or maybe Apper does indeed something "stupid" that just happens to work with other styles, but not Breeze.

Changing the "Product" to Breeze therefore, the Breeze maintainers/developers should have more insight I suppose.
Please change back if you think this is no Breeze bug.
Comment 3 Wolfgang Bauer 2015-06-13 13:22:20 UTC
Created attachment 93150 [details]
Apper using the Oxygen style

PS: For comparison, I attached a screenshot showing how Apper looks like with the Oxygen style.
Comment 4 Wolfgang Bauer 2015-06-13 13:44:25 UTC
Actually, as I (or rather the reporter of the openSUSE bug) just noticed, this does happen with CDE as well, but only for a short moment.

So I would guess the problem is something like this: (haven't looked at the code yet though)
Apper seems to display the text, and puts a progressbar widget with the same text on top of it. If the progressbar widget is transparent, the below text shows through causing that visual glitch as the text is not at exactly the same position.

Doesn't seem to be a bug in Breeze then, sorry for the noise.
Comment 5 Hugo Pereira Da Costa 2015-06-13 16:59:44 UTC
It is probably due to a "centering" issue then. Oxygen's progressbar labels are centered, breeze are not. and most likely the label 'below' (that overlaps) is centered.
Comment 6 Jonathan Ryshpan 2015-08-19 19:28:46 UTC
I see it too.  My widget style is Breeze.
Comment 7 Rex Dieter 2015-09-16 13:52:08 UTC
(In reply to Hugo Pereira Da Costa from comment #5)
> It is probably due to a "centering" issue then. Oxygen's progressbar labels
> are centered, breeze are not. and most likely the label 'below' (that
> overlaps) is centered.

it's not clear to me... does that mean it's an application (apper) issue, or a style one (breeze)?
Comment 8 Rex Dieter 2015-11-23 12:01:02 UTC
*** Bug 355723 has been marked as a duplicate of this bug. ***
Comment 9 Daniel Mader 2015-11-23 12:50:15 UTC
Just to clarify: the duplicate is with Breeze, too.
Comment 10 Robin Green 2016-03-03 06:55:31 UTC
*** Bug 357167 has been marked as a duplicate of this bug. ***
Comment 11 Kevin Kofler 2016-09-29 08:49:04 UTC
I think it's not the centering, it's the overdrawing, or lack thereof: In Oxygen, the text sits entirely above the progress bar. Therefore, the old text is probably completely erased by the new progress bar overdrawing it, then the new text is rendered above the progress bar. In Breeze, the text sits next to the progress bar, and is "transparent", which means the old text would have to be explicitly erased somehow somewhere to fix this.
Comment 12 Kevin Kofler 2016-09-29 09:41:41 UTC
Also, looking at libapper/PkTransactionWidget.cpp, Apper is not drawing anything itself, it is just using the widgets and letting Qt draw them without doing anything special. So I think the bug can only be either in the Breeze style or in Qt itself.
Comment 13 Rex Dieter 2016-11-10 13:37:55 UTC
*** Bug 363076 has been marked as a duplicate of this bug. ***
Comment 14 Germano Massullo 2018-05-20 14:27:29 UTC
Apper is end of life
Comment 15 Patrick Silva 2018-05-23 00:07:03 UTC
apper is not unmaintained.
https://dantti.wordpress.com/2018/02/20/apper-1-0-0-is-out/
Comment 16 Daniel Nicoletti 2018-05-23 02:51:25 UTC
yeah sorry, I still need to find some time to figure out how to fix this...
Comment 17 Wolfgang Bauer 2018-05-23 08:47:24 UTC
Isn't this fixed already by https://cgit.kde.org/apper.git/commit/?id=af7605e19245cc07141b48a395b4297f6c112deb ?
Comment 18 Daniel Nicoletti 2018-05-23 12:00:26 UTC
hmm might be but it still not looking good at least here...
Comment 19 Germano Massullo 2018-05-23 17:29:15 UTC
(In reply to Daniel Nicoletti from comment #18)
> hmm might be but it still not looking good at least here...

Note: I haven't had the opportunity to test it again because Apper has been removed from Fedora KDE ISO
Comment 20 Jonathan Ryshpan 2018-05-26 06:21:25 UTC
(In reply to Germano Massullo from comment #14)
> Apper is end of life

What is apper's successor?
Comment 21 Kevin Kofler 2018-05-26 08:56:41 UTC
Apper is not end of life upstream.

Several distributions switched to solutions directly using their package management stack, e.g., Kubuntu has had Muon for ages, Fedora now has Dnfdragora. Mainly, this happens because of deficiencies in the distribution's PackageKit backend that are not getting fixed. And upstream has Discover which can kinda replace Apper, but it has a significantly different focus and a significantly different user interface. (Discover is packaged in most distributions shipping KDE Plasma these days.) But all this does not mean Apper is dead.

That said, in Fedora, after having tried for years to get the current PackageKit Hawkey/hif/DNF backend to implement the features Apper requires (in particular, browsing comps groups) without success, we gave up on Apper and recommend Dnfdragora to all users instead. But this mess is not Apper's fault. It worked great with the old (unfortunately discontinued both upstream and downstream) PackageKit yum backend.