The xfce4-notify bubbles are configured to bottom-right (same happens with top-right) but don't appear on the right side of the display. This is caused by a panel that is running on the bottom right corner. However when the panel gets wider the bubbles will finally appear right at the edge of the screen.
Created attachment 2927 Missaligned
Created attachment 2928 Well aligned (panel is a little wider)
Can you paste output of "xprop | grep STRUT" for each of your panels?
Rather, can you do that twice -- once for each panel in the "doesn't work right" case, and once for each panel in the "works right" case... and be sure to note which set of numbers goes for which panel in each case.
For the top panel the result is always he same: _NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 29, 0, 0, 0, 0, 0, 0, 1024, 0, 0 For the bottom panel: Missaligned: _NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 758, 1024 Well aligned: _NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 583, 1024
Hmm, weird. That looks right. Sounds like maybe the workarea calculation stuff is getting confused by something. Jerome, any chance you can take a look?
Yep, I'll try to have a look when I find some time.
Created attachment 2934 Patch to fix the issue? Or not? Mike, could you please test this patch? I totally reworked the function. I had taken this code from I don't remember where, it's late and I could not understand it so I rewrote everything with a simpler algorithm. Looking at the number of MAX and if, the complexity should be roughly the same, and at least I understand my code now ^^ Let me know if this works. Brian: you'll notice some "wonderful" artwork in the code comments, I think it eases the understanding of the code, but feel free to remove it. Maybe I could add some additional "artwork" to explain what I mean by "rectangles implied by dx" but once you draw the rest of the thing it's easy to understand.
Works fine for me. When the panel is auto-hidden it displays right in the corner, and when the panel is not set to auto-hide it displays well too and not right in the corner as otherwise it would overlap.
Fixed in git master.