New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raven notifications/applets mismatch #31
Comments
Hi @tyler4tado would it be possible to complete your bug report with details about the OS you are using and the Budgie version you are using? |
I can confirm that this happens on Solus Budgie, as can @JoshStrobl. This has been known about for a while, but we haven't figured out a way to reliably reproduce it. |
The calling code for this is really simple. In the end, it's just calling |
I've come to realize this only occurs when launching Raven via the "notifications" (bell) applet, but it works as expected when launching it from the usual "Raven Trigger" (arrow in a box) applet. |
@EbonJaeger is the get/set visible stuff here relevant to this issue? https://stackoverflow.com/questions/22178524/gtk-named-stack-childs |
@fossfreedom it looks to me like you just found the solution. The Notification View calls PR incoming! |
Per the answer here (https://stackoverflow.com/questions/22178524/gtk-named-stack-childs), if a stack child is not visible, asking the stack to set the visible child will silently fail, apparently even if the child being shown *is* visible. The NotificationView widget already calls show_all() in its constructor, so the call only had to be added to the applet window. This fixes the case where clicking the notification bell fails to open the correct page, and possibly also fixes where clicking the Raven trigger for the first time sometimes fails to open Raven (it is technically open, but the elements arent visible). Ref #31 Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
Per the answer here (https://stackoverflow.com/questions/22178524/gtk-named-stack-childs), if a stack child is not visible, asking the stack to set the visible child will silently fail, apparently even if the child being shown *is* visible. The NotificationView widget already calls show_all() in its constructor, so the call only had to be added to the applet window. This fixes the case where clicking the notification bell fails to open the correct page, and possibly also fixes where clicking the Raven trigger for the first time sometimes fails to open Raven (it is technically open, but the elements arent visible). Ref #31 Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
Per the answer here (https://stackoverflow.com/questions/22178524/gtk-named-stack-childs), if a stack child is not visible, asking the stack to set the visible child will silently fail, apparently even if the child being shown *is* visible. The NotificationView widget already calls show_all() in its constructor, so the call only had to be added to the applet window. This fixes the case where clicking the notification bell fails to open the correct page, and possibly also fixes where clicking the Raven trigger for the first time sometimes fails to open Raven (it is technically open, but the elements arent visible). Ref #31 Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
When opening Raven for the first time in a session, it initially shows that the "Applets" section is opened, but what actually appears is "Notifications". Selecting the correct option seems to fix the bug for the remainder of the session, and it defaults back to opening the "notifications" screen from then on.
The text was updated successfully, but these errors were encountered: