1. Only brings up interfaces that where brought down when using auto. Currently all interfaces will be brought up when resuming, even if they where down when hibernating. 2. Checks if KDE is running to avoid dcop timeout. 3. Adds the "kmenu" icon to KDialog (xstatus). Reproducible: Always Steps to Reproduce: Hibernate with "DownInterfaces auto", "UpInterfaces auto" and "XStatus kde" set in common.conf Actual Results: Notice missing icon in KDialog both during hibernation and resume. After resume all interfaces will be brought up. If KDE is not running you'll be forced to wait for the dcop call to timeout. Expected Results: Some sort of icon in KDialog would be nice. At resume, only those interfaces that where brought down should be brought back up when using auto. If KDE is not running no need to wait for the dcop call to timeout. Patch pending.
Created attachment 141404 [details, diff] network auto up and kdialog fix
Created attachment 141405 [details, diff] network auto up and kdialog fix Got the dirs mixed up in the previous patch.
Hello, Please submit this to upstream bugzilla... This is unrelated to Gentoo... If upstream accepts this, please open a bug here... Just a few comments... 1. Split patches according to functionality, this patch should be splitted into three... One for networking, one for dcop and the other for kde icon. Each should have its own feature request bug at upstream. 2. By adding network_if_is_up only for Gentoo, you broke all none Gentoo distributions... This is not valid. 3. I am not sure the kde fix is needed, I remember some discussion about this in the past.
(In reply to comment #3) > Hello, Hi Alon, > Please submit this to upstream bugzilla... This is unrelated to Gentoo... If > upstream accepts this, please open a bug here... Done so, haven't heard back from anyone. > Just a few comments... > 1. Split patches according to functionality, this patch should be splitted into > three... One for networking, one for dcop and the other for kde icon. Each > should have its own feature request bug at upstream. Yes, you're right. > 2. By adding network_if_is_up only for Gentoo, you broke all none Gentoo > distributions... This is not valid. That's why i posted it here. > 3. I am not sure the kde fix is needed, I remember some discussion about this > in the past. OK, I'll look in to that. Appreciate your input. At least someone cares about the fine details ;) Thanks, Pete