FS#67414 - [i3-gaps] nm-applet disappears from i3blocks tray after reloading i3 config

Attached to Project: Community Packages
Opened by PK (patresko) - Monday, 27 July 2020, 09:58 GMT
Last edited by Morten Linderud (Foxboron) - Monday, 10 August 2020, 18:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
After updating to i3-gaps-4.18.2-1, the nm-applet disappears whenever restarting i3-gaps or reloading it's config file in-place.
Downgrading to i3-gaps-4.18.1-2 helps this issue.

Additional info:
i3-gaps-4.18.2-1 package version(s)

Steps to reproduce:
Upgrade to i3-gaps-4.18.2-1, restart i3 or reload it's config in-place.
This task depends upon

Closed by  Morten Linderud (Foxboron)
Monday, 10 August 2020, 18:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.18.2-2
Comment by Morten Linderud (Foxboron) - Monday, 27 July 2020, 20:17 GMT Comment by Alex (nylocx) - Wednesday, 05 August 2020, 08:29 GMT
The mentioned upstream bug now has a patch linked at:
https://git.powerel.org/powerel7/gui/src/branch/master/SOURCES/i3-bar-xcb.patch

Maybe you could add this to the PKGBUILD until 4.18.3 is released?
Comment by Morten Linderud (Foxboron) - Wednesday, 05 August 2020, 08:33 GMT
Not pulling patches from weird upstreams, sorry.

Build i3 with the patch from the mentioned PR and tell me if it works or not please. I will probably apply the patch if upstream acks it.

https://github.com/i3/i3/pull/4163
Comment by Alex (nylocx) - Thursday, 06 August 2020, 18:39 GMT
It seems to resolve the problem here is the PKGFILE patch.

```
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index c9e3eb8..ad604d5 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -26,4 +26,6 @@ backup=(etc/i3/config)
options=('docs')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Airblader/i3/archive/${pkgver}.tar.gz")
-sha256sums=('cc03cc008f51792b3c2fd5c8815ec213f8040385865fa558b0c78d5dc5f7150d')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Airblader/i3/archive/${pkgver}.tar.gz",
+ "patch.diff::https://github.com/i3/i3/commit/3ea95904c6669094b1ea9eaf5a6ab355e8bb6570.diff")
+sha256sums=('cc03cc008f51792b3c2fd5c8815ec213f8040385865fa558b0c78d5dc5f7150d'
+ 'db3506290b30a689c10748fbfa6c74af58afcfcf079df98374a71364958289a3')

@@ -32,2 +34,3 @@ prepare(){
cd "${_pkgsourcename}-${pkgver}"
+ patch -p1 < ${srcdir}/patch.diff
autoreconf -fvi
```
Comment by Alex (nylocx) - Friday, 07 August 2020, 16:11 GMT
Too bad, today the bug reappeared once I killed my i3bar (another bug that i3bar or py3status eats all my Xorg CPU time). So the patch does not fix this completly.
Comment by Alex (nylocx) - Monday, 10 August 2020, 18:15 GMT
Another update with the stable patch that replicates what the first patch does remove before destruction it works:
https://github.com/i3/i3/commit/838b600fead202416013db5c1b57f7031f06bed6.diff
Comment by Morten Linderud (Foxboron) - Monday, 10 August 2020, 18:24 GMT
Pushed 4.18.2-2 with patch applied. Please make sure it works.
Comment by Alex (nylocx) - Monday, 10 August 2020, 18:42 GMT
Thanks a lot works like charm, one bug less to care about. Now I have to find the py3status module that is going havoc after a few hours.

Loading...