Re: [PATCH] Cleaner windows title

2011-07-19 Thread Jean-Marc Lasgouttes

Le 19/07/2011 05:54, BH a écrit :

Works well for me -- I use the title bar icon all the time (which can
also be used to reveal the complete path to the file and navigate to
any folder in the path).


Unfortunately, I cannot have only this part, since Qt does not do the 
icon thing if I set the windows title by hand. So we need a home for 
version control and read only.


JMarc


Re: [PATCH] Cleaner windows title

2011-07-19 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote:
 (and I'd prefer SVN/CVS/RCS to Version Control),

then perhaps Version Control(SVN/CVS/RCS) in order to know what you are running.
also readonly flag is needed to be displayed somewhere.

pavel


Re: [PATCH] Cleaner windows title

2011-07-19 Thread Jean-Marc Lasgouttes

Le 19/07/2011 05:54, BH a écrit :

Works well for me -- I use the title bar icon all the time (which can
also be used to reveal the complete path to the file and navigate to
any folder in the path).


Unfortunately, I cannot have only this part, since Qt does not do the 
icon thing if I set the windows title by hand. So we need a home for 
version control and read only.


JMarc


Re: [PATCH] Cleaner windows title

2011-07-19 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote:
> (and I'd prefer SVN/CVS/RCS to Version Control),

then perhaps Version Control(SVN/CVS/RCS) in order to know what you are running.
also "readonly" flag is needed to be displayed somewhere.

pavel


Re: [PATCH] Cleaner windows title

2011-07-18 Thread BH
On Mon, Jul 18, 2011 at 2:47 PM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:
 It occurred to me that it is better to let Qt make a nice windows title for
 us. The following patch does that (Qt = 4.4).

 The main gain is to get the sexy mac os features that are useless and
 therefore a must-have

 - a black dot in the windows close button to indicate that the file is
  modified

 - a small icon beside the file name in the title bar. This icon is a
  proxy for the file that can be dragged and dropped easily; moreover
  Command-click on the icon shows the path up to the file and allows to
  open the finder

 - LyX is not shown anymore in the title bar (the main menu bar does
  that already)

Works well for me -- I use the title bar icon all the time (which can
also be used to reveal the complete path to the file and navigate to
any folder in the path).

 For other OSes, one just gets a name LyX -- file.lyx, along with a star
 for dirty documents.

 The problem is what we lose to pieces of information:
 - version control
 - read only

 I think these hints should move to small dedicated areas of the status bar
 (and I'd prefer SVN/CVS/RCS to Version Control), where theu would be easier
 to spot. However, I do not know how to do that, and therefore I just drop
 this patch here for whoever knows how to go forward.

I agree: the status bar is underutilized.

BH


Re: [PATCH] Cleaner windows title

2011-07-18 Thread BH
On Mon, Jul 18, 2011 at 2:47 PM, Jean-Marc Lasgouttes
 wrote:
> It occurred to me that it is better to let Qt make a nice windows title for
> us. The following patch does that (Qt >= 4.4).
>
> The main gain is to get the sexy mac os features that are useless and
> therefore a must-have
>
> - a black dot in the windows close button to indicate that the file is
>  modified
>
> - a small icon beside the file name in the title bar. This icon is a
>  proxy for the file that can be dragged and dropped easily; moreover
>  Command-click on the icon shows the path up to the file and allows to
>  open the finder
>
> - "LyX" is not shown anymore in the title bar (the main menu bar does
>  that already)

Works well for me -- I use the title bar icon all the time (which can
also be used to reveal the complete path to the file and navigate to
any folder in the path).

> For other OSes, one just gets a name "LyX -- file.lyx", along with a star
> for dirty documents.
>
> The problem is what we lose to pieces of information:
> - version control
> - read only
>
> I think these hints should move to small dedicated areas of the status bar
> (and I'd prefer SVN/CVS/RCS to Version Control), where theu would be easier
> to spot. However, I do not know how to do that, and therefore I just drop
> this patch here for whoever knows how to go forward.

I agree: the status bar is underutilized.

BH