Re: Bug: Can't select bottom window by mouse-clicking

2006-08-08 Thread Bram Moolenaar

A.J.Mechelynck wrote:

> No it doesn't (and I'm using almost the same as yours, i.e., Huge 
> version 7.0.42 with GTK2-GNOME GUI) on SuSE Linux 9.3 Professional.
> 
> With my own vimrc I get it even with no editfile.
> 
> A little experimenting shows that the e flag must be absent from 
> 'guioptions' for the bug to manifest. Here's a new testcase:
> 
>gvim -N -u NONE
>  :set go-=e stal=2 wmh=0 wh=999
>  :new
> 
> Now click on both status lines in alternation and see what happens. 
> (Clicking inside the bottom window does select it, but with ":set wmh=0 
> wh=999" this is usually not possible.)

I can reproduce it.  I'll put it in the todo list (which is too long
now).

-- 
>From "know your smileys":
 :-FBucktoothed vampire with one tooth missing

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\download, build and distribute -- http://www.A-A-P.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///


Re: Bug: Can't select bottom window by mouse-clicking

2006-08-01 Thread A.J.Mechelynck

Charles E Campbell Jr wrote:

A.J.Mechelynck wrote:

No it doesn't (and I'm using almost the same as yours, i.e., Huge 
version 7.0.42 with GTK2-GNOME GUI) on SuSE Linux 9.3 Professional.


With my own vimrc I get it even with no editfile.

A little experimenting shows that the e flag must be absent from 
'guioptions' for the bug to manifest. Here's a new testcase:


  gvim -N -u NONE
:set go-=e stal=2 wmh=0 wh=999
:new

Now click on both status lines in alternation and see what happens. 
(Clicking inside the bottom window does select it, but with ":set 
wmh=0 wh=999" this is usually not possible.)


OK, with this  (I also included a "-u NONE") I was unable to select the 
bottom window by clicking on it.


I didn't include -U NONE (with uppercase U) for two reasons, each of 
which is sufficient by itself:


1) -u NONE (with lowercase u) suppresses sourcing of vimrc, plugins 
_and_ gvimrc.

2) I don't have a gvimrc anyway.

Interestingly, after a ctrl-w j to select the bottom window by moving 
the cursor to it, I was able to click

on the upper window status line with the mouse to select it.


Me too. In fact, with any number of windows (more than one) I can select 
any of them _except_ the bottom one by clicking its statusline.




Consider it duplicated!

For those who are silently browsing: the 'e' option in guioptions is 
supposed to


   "Add tab pages when indicated with 'showtabline'"


... and 'stal' or 'showtabline' set to 2 means "always". Without the e 
flag, gvim uses a "text" tabline similar to that of the console version.




so it doesn't appear like it should have this behavior.

Regards,
Chip Campbell





Best regards,
Tony.


Re: Bug: Can't select bottom window by mouse-clicking

2006-08-01 Thread Charles E Campbell Jr

A.J.Mechelynck wrote:

No it doesn't (and I'm using almost the same as yours, i.e., Huge 
version 7.0.42 with GTK2-GNOME GUI) on SuSE Linux 9.3 Professional.


With my own vimrc I get it even with no editfile.

A little experimenting shows that the e flag must be absent from 
'guioptions' for the bug to manifest. Here's a new testcase:


  gvim -N -u NONE
:set go-=e stal=2 wmh=0 wh=999
:new

Now click on both status lines in alternation and see what happens. 
(Clicking inside the bottom window does select it, but with ":set 
wmh=0 wh=999" this is usually not possible.)


OK, with this  (I also included a "-u NONE") I was unable to select the 
bottom window by clicking on it.
Interestingly, after a ctrl-w j to select the bottom window by moving 
the cursor to it, I was able to click

on the upper window status line with the mouse to select it.

Consider it duplicated!

For those who are silently browsing: the 'e' option in guioptions is 
supposed to


   "Add tab pages when indicated with 'showtabline'"

so it doesn't appear like it should have this behavior.

Regards,
Chip Campbell



Re: Bug: Can't select bottom window by mouse-clicking

2006-07-31 Thread A.J.Mechelynck

Charles E Campbell Jr wrote:

A.J.Mechelynck wrote:


Can't select bottom window by mouse-clicking

Happens every time. How to reproduce:
1. :set ch=2 wmh=0 wh= " don't know if relevant
2. Open at least two horizontally split windows
3. Make some window current, other than the bottom one
4. Click the bottom status line.

Actual result:
Nothing happens.

Expected result:
Bottom window should become current, as with ^Wb

Additional info:
- Selecting by mouse works for any window other than the bottom one.
- ":version" output:


Hello!

My gvim worked as expected (ie. the window associated with the clicked on
status bar became current).  I did it both with my usual settings and with

 gvim -u NONE -U NONE -N somefile

Does it still happen when you try gvim with the " -u NONE -U NONE  -N" 
arguments? (I'm using Huge version with GTK2 GUI... on a FC5 linux box)


Regards,
Chip Campbell





No it doesn't (and I'm using almost the same as yours, i.e., Huge 
version 7.0.42 with GTK2-GNOME GUI) on SuSE Linux 9.3 Professional.


With my own vimrc I get it even with no editfile.

A little experimenting shows that the e flag must be absent from 
'guioptions' for the bug to manifest. Here's a new testcase:


  gvim -N -u NONE
:set go-=e stal=2 wmh=0 wh=999
:new

Now click on both status lines in alternation and see what happens. 
(Clicking inside the bottom window does select it, but with ":set wmh=0 
wh=999" this is usually not possible.)



Best regards,
Tony.


Re: Bug: Can't select bottom window by mouse-clicking

2006-07-31 Thread Charles E Campbell Jr

A.J.Mechelynck wrote:


Can't select bottom window by mouse-clicking

Happens every time. How to reproduce:
1. :set ch=2 wmh=0 wh= " don't know if relevant
2. Open at least two horizontally split windows
3. Make some window current, other than the bottom one
4. Click the bottom status line.

Actual result:
Nothing happens.

Expected result:
Bottom window should become current, as with ^Wb

Additional info:
- Selecting by mouse works for any window other than the bottom one.
- ":version" output:


Hello!

My gvim worked as expected (ie. the window associated with the clicked on
status bar became current).  I did it both with my usual settings and with

 gvim -u NONE -U NONE -N somefile

Does it still happen when you try gvim with the " -u NONE -U NONE  -N" 
arguments? 
(I'm using Huge version with GTK2 GUI... on a FC5 linux box)


Regards,
Chip Campbell



Re: Bug: Can't select bottom window by mouse-clicking

2006-07-28 Thread Georg Dahn
Maybe this information helps: I cannot reproduce this with gVim 7.0.42 on
Windows XP neither with sourcing my vimrx file nor with "gvim -u NONE". I am
using the free MSVC Compiler of Microsoft and compile with Python and Perl
options (dynamically linked).

Best wishes,
Georg

--- "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:

> Can't select bottom window by mouse-clicking
> 
> Happens every time. How to reproduce:
> 1. :set ch=2 wmh=0 wh= " don't know if relevant
> 2. Open at least two horizontally split windows
> 3. Make some window current, other than the bottom one
> 4. Click the bottom status line.
> 
> Actual result:
> Nothing happens.
> 
> Expected result:
> Bottom window should become current, as with ^Wb
> 
> Additional info:
> - Selecting by mouse works for any window other than the bottom one.
> - ":version" output:
> 
> 
> VIM - Vi IMproved 7.0 (2006 May 7, compiled Jul 23 2006 22:50:51)
> Included patches: 1-42
> Compiled by [EMAIL PROTECTED]
> Huge version with GTK2-GNOME GUI.  Features included (+) or not (-):
> +arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset 
> +cindent +clientserver
> +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv 
> +cscope +cursorshape
> +dialog_con_gui +diff +digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra 
> +extra_search +farsi
> +file_in_path +find_in_path +folding -footer +fork() +gettext 
> -hangul_input +iconv +insert_expand
> +jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds 
> +localmap +menu +mksession
> +modify_fname +mouse +mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm 
> +mouse_netterm +mouse_xterm
> +multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra 
> +perl +postscript
> +printer +profile -python +quickfix +reltime +rightleft +ruby 
> +scrollbind +signs +smartindent
> -sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static 
> -tag_any_white +tcl +terminfo
>   +termresponse +textobjects +title +toolbar +user_commands +vertsplit 
> +virtualedit +visual
> +visualextra +viminfo +vreplace +wildignore +wildmenu +windows 
> +writebackup +X11 -xfontset +xim
> +xsmp_interact +xterm_clipboard -xterm_save
> system vimrc file: "$VIM/vimrc"
>   user vimrc file: "$HOME/.vimrc"
>user exrc file: "$HOME/.exrc"
>system gvimrc file: "$VIM/gvimrc"
>  user gvimrc file: "$HOME/.gvimrc"
>  system menu file: "$VIMRUNTIME/menu.vim"
>fall-back for $VIM: "/usr/local/share/vim"
> Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK 
> -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/gnome/include/gtk-2.0 
> -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include 
> -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 
> -I/usr/include/freetype2 -I/usr/include/freetype2/config 
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include 
> -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API 
> -I/usr/include/libart-2.0 -I/usr/include/libxml2 
> -I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnome-2.0 
> -I/opt/gnome/include/libgnomecanvas-2.0 -I/opt/gnome/include/gtk-2.0 
> -I/opt/gnome/include/gconf/2 -I/opt/gnome/include/libbonoboui-2.0 
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include 
> -I/opt/gnome/include/orbit-2.0 -I/opt/gnome/include/libbonobo-2.0 
> -I/opt/gnome/include/gnome-vfs-2.0 
> -I/opt/gnome/lib/gnome-vfs-2.0/include 
> -I/opt/gnome/include/bonobo-activation-2.0 
> -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 
> -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include 
> -I/opt/gnome/include/atk-1.0 -I/usr/include/freetype2/config -O2 
> -fno-strength-reduce -Wall  -I/usr/X11R6/include   -D_REENTRANT 
> -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING  -pipe -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 
> -I/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE   -I/usr/include 
> -D_LARGEFILE64_SOURCE=1  -I/usr/lib/ruby/1.8/i686-linux
> Linking: gcc -L/opt/gnome/lib   -L/usr/X11R6/lib   -rdynamic  -Wl,-E 
> -Wl,-rpath,/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE 
> -L/usr/local/lib -o vim   -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0 
> -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 
> -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -L/opt/gnome/lib 
> -L/usr/X11R6/lib   -lgnomeui-2 -lbonoboui-2 -lxml2 -lz -lgnomecanvas-2 
> -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 
> -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 
> -lgobject-2.0 -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation 
> -lORBit-2 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0   -lXt -lncurses -lgpm 
> -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE 
> /usr/lib/perl5/5.8.6/i586-linux-thread-multi/auto/DynaLoader/DynaLoader.a 
> -L/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE -lperl -lutil -lc 
> -L/usr/lib -ltcl8.4 -lieee -lruby -lm
> 
> 
> 
> Best regards,
> Tony.
> 




__

Bug: Can't select bottom window by mouse-clicking

2006-07-28 Thread A.J.Mechelynck

Can't select bottom window by mouse-clicking

Happens every time. How to reproduce:
1. :set ch=2 wmh=0 wh= " don't know if relevant
2. Open at least two horizontally split windows
3. Make some window current, other than the bottom one
4. Click the bottom status line.

Actual result:
Nothing happens.

Expected result:
Bottom window should become current, as with ^Wb

Additional info:
- Selecting by mouse works for any window other than the bottom one.
- ":version" output:


VIM - Vi IMproved 7.0 (2006 May 7, compiled Jul 23 2006 22:50:51)
Included patches: 1-42
Compiled by [EMAIL PROTECTED]
Huge version with GTK2-GNOME GUI.  Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset 
+cindent +clientserver
+clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv 
+cscope +cursorshape
+dialog_con_gui +diff +digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra 
+extra_search +farsi
+file_in_path +find_in_path +folding -footer +fork() +gettext 
-hangul_input +iconv +insert_expand
+jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds 
+localmap +menu +mksession
+modify_fname +mouse +mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm 
+mouse_netterm +mouse_xterm
+multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra 
+perl +postscript
+printer +profile -python +quickfix +reltime +rightleft +ruby 
+scrollbind +signs +smartindent
-sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static 
-tag_any_white +tcl +terminfo
 +termresponse +textobjects +title +toolbar +user_commands +vertsplit 
+virtualedit +visual
+visualextra +viminfo +vreplace +wildignore +wildmenu +windows 
+writebackup +X11 -xfontset +xim

+xsmp_interact +xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
 user vimrc file: "$HOME/.vimrc"
  user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK 
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/gnome/include/gtk-2.0 
-I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include 
-I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/freetype2/config 
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include 
-DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API 
-I/usr/include/libart-2.0 -I/usr/include/libxml2 
-I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnome-2.0 
-I/opt/gnome/include/libgnomecanvas-2.0 -I/opt/gnome/include/gtk-2.0 
-I/opt/gnome/include/gconf/2 -I/opt/gnome/include/libbonoboui-2.0 
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include 
-I/opt/gnome/include/orbit-2.0 -I/opt/gnome/include/libbonobo-2.0 
-I/opt/gnome/include/gnome-vfs-2.0 
-I/opt/gnome/lib/gnome-vfs-2.0/include 
-I/opt/gnome/include/bonobo-activation-2.0 
-I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 
-I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include 
-I/opt/gnome/include/atk-1.0 -I/usr/include/freetype2/config -O2 
-fno-strength-reduce -Wall  -I/usr/X11R6/include   -D_REENTRANT 
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING  -pipe -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 
-I/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE   -I/usr/include 
-D_LARGEFILE64_SOURCE=1  -I/usr/lib/ruby/1.8/i686-linux
Linking: gcc -L/opt/gnome/lib   -L/usr/X11R6/lib   -rdynamic  -Wl,-E 
-Wl,-rpath,/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE 
-L/usr/local/lib -o vim   -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0 
-latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -L/opt/gnome/lib 
-L/usr/X11R6/lib   -lgnomeui-2 -lbonoboui-2 -lxml2 -lz -lgnomecanvas-2 
-lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 
-latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 
-lgobject-2.0 -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation 
-lORBit-2 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0   -lXt -lncurses -lgpm 
-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE 
/usr/lib/perl5/5.8.6/i586-linux-thread-multi/auto/DynaLoader/DynaLoader.a 
-L/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE -lperl -lutil -lc 
-L/usr/lib -ltcl8.4 -lieee -lruby -lm




Best regards,
Tony.