Neil Bird | 2 Oct 2010 14:38
Face
Favicon

GNOME clock window disappears off screen


   I had been presuming this was a GNOME clock bug, but I now don't know 
whether it's a bug/presumption on the clock applet's part, or a bug in 
openbox.

   It's a relatively simple test case:  I keep my GNOME clock (from the 
gnome-panel package) on my *bottom* panel.  When I click it, the 
calendar window comes up seemingly attached to the panel, above the 
clock applet data.

   However, if it gets bigger while open (I open a previously closed 
'Locations' section, or it adds appointments data having looked it up in 
the background), the window extends downwards (as it's grown), covering 
the applet and making it near impossible to close (by clicking on the 
applet).

   Under metacity, when this calendar window grows, it seems to reattach 
itself, so that it grows upwards.  I wonder whether this is because it's 
"_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK".

   So the question is, is gnome-panel's clock erroneously relying upon 
metacity-specific functionality, or is openbox supposed to watch out for 
resizing 'dock' windows and relocate them accordingly?

--

-- 
[phoenix <at> fnx ~]# rm -f .signature
[phoenix <at> fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[phoenix <at> fnx ~]# exit
_______________________________________________
(Continue reading)

Anthony Thyssen | 3 Oct 2010 02:06
Picon
Favicon

Re: GNOME clock window disappears off screen


On Sat, 02 Oct 2010 13:38:28 +0100
Neil Bird <neil@...> wrote:
| 
|    I had been presuming this was a GNOME clock bug, but I now don't know 
| whether it's a bug/presumption on the clock applet's part, or a bug in 
| openbox.
| 
|    It's a relatively simple test case:  I keep my GNOME clock (from the 
| gnome-panel package) on my *bottom* panel.  When I click it, the 
| calendar window comes up seemingly attached to the panel, above the 
| clock applet data.
| 
|    However, if it gets bigger while open (I open a previously closed 
| 'Locations' section, or it adds appointments data having looked it up in 
| the background), the window extends downwards (as it's grown), covering 
| the applet and making it near impossible to close (by clicking on the 
| applet).
| 
|    Under metacity, when this calendar window grows, it seems to reattach 
| itself, so that it grows upwards.  I wonder whether this is because it's 
| "_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK".
| 
|    So the question is, is gnome-panel's clock erroneously relying upon 
| metacity-specific functionality, or is openbox supposed to watch out for 
| resizing 'dock' windows and relocate them accordingly?
| 

I have noticed this too, and also assumed it was a GNOME-Clock bug.
However once you have the pannel the way you want, next login it will
(Continue reading)

Neil Bird | 4 Oct 2010 11:58
Face
Favicon

Re: GNOME clock window disappears off screen

Around about 03/10/10 01:06, Anthony Thyssen typed ...
> I have noticed this too, and also assumed it was a GNOME-Clock bug.
> However once you have the pannel the way you want, next login it will
> be placed correctly.

   That *was* the case, but I just set up evolution to be able to see my 
google calendar.  I don't *use* evolution, but with that set up, the gnome 
clock picks up calendar entries and displays them in the calendar popup.

   Unfortunately, it (necessarily) does the calendar lookup asynchronously, 
so I get the calendar up in the right place (attached to the panel), then a 
couple of seconds later (slow Net access) days with entries are emboldened 
and a new section of the calendar is added called "appointments".

   This latter makes the window bigger and so it covers the applet/panel as 
described.  Every time.

   I did find an inelegant work around, in that if I have any days in the 
calendar with no entries near the start of the month, I can select them and 
the appointments field goes away (as it's day-oriented).  That puts the 
window back to the size it was when it opened, and I can close it.

   But I won't be able to see more than a few appointments, and it's a bit 
of a faff.

--

-- 
[neil <at> fnx ~]# rm -f .signature
[neil <at> fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil <at> fnx ~]# exit
(Continue reading)

Anthony Thyssen | 5 Oct 2010 01:40
Picon
Favicon

Re: GNOME clock window disappears off screen


On Mon, 04 Oct 2010 10:58:13 +0100
Neil Bird <neil@...> wrote:
| Around about 03/10/10 01:06, Anthony Thyssen typed ...
| > I have noticed this too, and also assumed it was a GNOME-Clock bug.
| > However once you have the pannel the way you want, next login it will
| > be placed correctly.
| 
|    That *was* the case, but I just set up evolution to be able to see my 
| google calendar.  I don't *use* evolution, but with that set up, the gnome 
| clock picks up calendar entries and displays them in the calendar popup.
| 
|    Unfortunately, it (necessarily) does the calendar lookup asynchronously, 
| so I get the calendar up in the right place (attached to the panel), then a 
| couple of seconds later (slow Net access) days with entries are emboldened 
| and a new section of the calendar is added called "appointments".
| 
|    This latter makes the window bigger and so it covers the applet/panel as 
| described.  Every time.
| 
|    I did find an inelegant work around, in that if I have any days in the 
| calendar with no entries near the start of the month, I can select them and 
| the appointments field goes away (as it's day-oriented).  That puts the 
| window back to the size it was when it opened, and I can close it.
| 
|    But I won't be able to see more than a few appointments, and it's a bit 
| of a faff.
| 

I think the big problem is that it was designed with the gnome clock
(Continue reading)

Neil Bird | 5 Oct 2010 10:05
Face
Favicon

Re: GNOME clock window disappears off screen

Around about 05/10/10 00:40, Anthony Thyssen typed ...
> The question is making something fix this automatically when it is
> wrong (such as on window resize or mapping).

   Yes, that is the question.  I shall have to have a rummage in the WM 
specs to see what they say about 'DOCK' type windows.

--

-- 
[neil <at> fnx ~]# rm -f .signature
[neil <at> fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil <at> fnx ~]# exit
_______________________________________________
openbox mailing list
openbox@...
http://icculus.org/mailman/listinfo/openbox

Dana Jansens | 5 Oct 2010 17:53

Re: GNOME clock window disappears off screen

On Tue, Oct 5, 2010 at 4:05 AM, Neil Bird <neil <at> fnxweb.com> wrote:
> Around about 05/10/10 00:40, Anthony Thyssen typed ...
>>
>> The question is making something fix this automatically when it is
>> wrong (such as on window resize or mapping).
>
>  Yes, that is the question.  I shall have to have a rummage in the WM specs
> to see what they say about 'DOCK' type windows.

Dock type windows request their own positions.  For example, the panel
may move off the bottom of the screen to hide itself.  Forcing it to
another position would break this behaviour.  I'd certainly like to
fix this if possible, without breaking other apps.. If you can make a
bug report and include any information you find about DOCK windows,
and about this one in particular, that would be helpful.

- Dana

> --
> [neil <at> fnx ~]# rm -f .signature
> [neil <at> fnx ~]# ls -l .signature
> ls: .signature: No such file or directory
> [neil <at> fnx ~]# exit
> _______________________________________________
> openbox mailing list
> openbox <at> icculus.org
> http://icculus.org/mailman/listinfo/openbox
>
_______________________________________________
openbox mailing list
(Continue reading)

Neil Bird | 8 Oct 2010 08:59
Face
Favicon

Re: GNOME clock window disappears off screen

Around about 05/10/10 16:53, Dana Jansens typed ...
> Dock type windows request their own positions.  For example, the panel
> may move off the bottom of the screen to hide itself.  Forcing it to
> another position would break this behaviour.

   OK.

> I'd certainly like to
> fix this if possible, without breaking other apps.. If you can make a
> bug report and include any information you find about DOCK windows,
> and about this one in particular, that would be helpful.

   I'm going to see if I can figure out what metacity's doing in this 
instance, and then see what OB is doing differently.  When I've found out 
what I can, I'll file a bug.

--

-- 
[neil <at> fnx ~]# rm -f .signature
[neil <at> fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil <at> fnx ~]# exit
_______________________________________________
openbox mailing list
openbox@...
http://icculus.org/mailman/listinfo/openbox

Ikem Krueger | 8 Oct 2010 16:27

Include another config file?

I wanna split the "~/.config/openbox/rc.xml" to:

*rc.xml
*keyboard-shortcuts-general.xml
*keyboard-shortcuts-pekwm.xml
*keyboard-shortcuts-windows.xml
*per-application-settings.xml

Is there something like an <include> tag, to include other *.xml files?
_______________________________________________
openbox mailing list
openbox@...
http://icculus.org/mailman/listinfo/openbox

Vlad George | 8 Oct 2010 18:35
Picon

Re: Include another config file?

Hello,
On Fri, Oct 08, 2010 at 04:27:01PM +0200, Ikem Krueger wrote:
> I wanna split the "~/.config/openbox/rc.xml" to:
> 
> *rc.xml
> *keyboard-shortcuts-general.xml
> *keyboard-shortcuts-pekwm.xml
> *keyboard-shortcuts-windows.xml
> *per-application-settings.xml
> 
> Is there something like an <include> tag, to include other *.xml files?
Do smth like:
"
<!-- You can specify more than one menu file in here and they are all loaded,
just don't make menu ids clash or, well, it'll be kind of pointless -->
<!-- default menu file (or custom one in $HOME/.config/openbox/) -->
<file>root-menu.xml</file>
<file>mails-menu.xml</file>
...
<file>stuff.xml</file>
"

Vlad

--

-- 
_______________________________________________
openbox mailing list
openbox@...
http://icculus.org/mailman/listinfo/openbox

(Continue reading)

Dana Jansens | 8 Oct 2010 18:59

Re: Include another config file?



On Fri, Oct 8, 2010 at 10:27 AM, Ikem Krueger <ikem.krueger-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:
I wanna split the "~/.config/openbox/rc.xml" to:

*rc.xml
*keyboard-shortcuts-general.xml
*keyboard-shortcuts-pekwm.xml
*keyboard-shortcuts-windows.xml
*per-application-settings.xml

Is there something like an <include> tag, to include other *.xml files?

Unfortunately, no.  As Vlad pointed out you can for menu definitions, but not for other stuff.
 
_______________________________________________
openbox mailing list
openbox-y8u1feBGtzxAfugRpC6u6w@public.gmane.org
http://icculus.org/mailman/listinfo/openbox

_______________________________________________
openbox mailing list
openbox@...
http://icculus.org/mailman/listinfo/openbox

Gmane