arcan1s / awesome-widgets

Minimalistic Plasmoid set
https://arcanis.me/projects/awesome-widgets/
GNU General Public License v3.0
74 stars 4 forks source link

Panel text obscured on startup #34

Open dizzib opened 10 years ago

dizzib commented 10 years ago

The panel text is obscured by subsequent widgets on startup: panel1 Quick workaround is to enter Awesome Widget Settings then hit OK: panel2

Also, for some reason the text becomes obscured again some time after I apply the workaround. The time can be anything from a few minutes to half an hour or so and it happens all by itself, even when I'm away from the computer. FWIW I'm on KDE 4.13.2.

When the text is obscured, a right-click to show the popup menu fails unless it's done at the extreme bottom of the panel.

arcan1s commented 10 years ago

yep there are some problems with painting interface since the latest version. I hope they will be fixed in the future releases. Sorry =)

But as for me, I have not seen to have problems with the painting after initialization. Is this effects similar to one in initialization? I can assume that it may be related to other widgets which grab all given free space.

dizzib commented 10 years ago

No problem at all :)

Yes the after-initialization effect is identical to the first-initialization problem.

Interestingly the after-init problem hasn't happened since I switched back to running off SSD a couple of hours ago. Earlier I was running a clone of my system off a usb stick and I suspect this may have affected the disk monitor widget and caused the after-init problem. Needs further investigation.

Update: I spoke too soon, yesterday it happened a couple of times when running off SSD.

dizzib commented 10 years ago

I'm sometimes able to make AW text disappear by clicking the panel cashew and moving the AW instance(s) around. Hopefully this might help you to reproduce the issue more easily.

Please let me know if you need any more info, but unfortunately for now this bug makes AW unworkable for me :(

arcan1s commented 10 years ago

I may create hot fix (workaround) to avoid this issue. It is not clear fix, but should work. Hope I will implement this today, but you will need to build plasmoid from git.

dizzib commented 10 years ago

Wow great! Let me know where to get it from when you're done and I'll give it a spin. I'm on Arch linux so hopefully I can simply hack the PKGBUILD.

arcan1s commented 10 years ago

okay, try to build from git with the following PKGBUILD

dizzib commented 10 years ago

That seems to be fixed now, great job!

Please forgive me for this but I find myself missing how the text used to sit with a transparent background overlaid above the other widgets since (1) it took up much less space and (2) looked really cool, so it's a pity this (accidental?) feature is no longer around.

To illustrate, here's my panel before this fix: panel3

And after, where I've had to radically trim down the text: panel4

Anyway this isn't a major issue just a nice to have, so closing as fixed.

btw the build didn't work until I grabbed the submodules manually but I've a feeling PKGBUILD-git could be doing this.

Thanks again!

arcan1s commented 10 years ago

Sorry about the submodules I forgot about them =) And I think that I can do the widget in foreground (hope it will be in one line patch)

dizzib commented 10 years ago

That would be very cool indeed but no rush! Let me know if you need me to test.

arcan1s commented 10 years ago

try now =)

dizzib commented 10 years ago

Hmm no difference, AW is still taking up space as in my last pic above even after moving it around. Is there something else I need to do ?

Submodules are pulling correctly now.

arcan1s commented 10 years ago

ok, I'll look at this again. But i want ask you what plasmoid is used to provide charts?

dizzib commented 10 years ago

From left to right in my last pic there's AW instance 1, Network monitor, HW temp, CPU monitor (4 cells), AW 2, Memory status, Hard disk i/o (2 cells).

arcan1s commented 10 years ago

are they default KDE charts?

dizzib commented 10 years ago

Yes, in KDE 4.13.2

arcan1s commented 10 years ago

i'm sorry, but I cannot reproduce it. It works normally for me (see the screenshot). I think that it is plasma-related issue. Did you try to add the AW after graphical monitors? 10

dizzib commented 9 years ago

It doesn't matter where I place AW it never overlays its neighbours plus I just tried rebuilding with latest and still no joy. Out of interest what KDE version are you on ?

TBH I can live with it as-is so please don't waste too much time on this!

arcan1s commented 9 years ago

latest (4.14.2)

dizzib commented 9 years ago

Also worth noting I'm on qt4 4.8.6-1

I'll try upgrading my KDE and qt but this can't happen immediately since I'm in the middle of evaluating some other software.

dizzib commented 9 years ago

Finally got round to upgrading to KDE 4.14.3 and qt4 4.8.6-4 but no joy I'm afraid. Even upgrading to AW 2.1.0 didn't make any difference.

arcan1s commented 9 years ago

okay

will look on it later (after/with releasing for KF5)

dizzib commented 9 years ago

Thanks and please don't sweat it :)

I expect this to be a tough nut to crack if you cannot reproduce it so I've installed KDE/AW into an isolated virtualbox environment to help us test and diagnose it. Please let me know if you need any more info.