Loading ...
Sorry, an error occurred while loading the content.

6.2: GTK find/replace dialog missing

Expand Messages
  • Aschwin Marsman
    Hi, When using gvim 6.2 (GTK version), I don t get a dialog for Find cq Find an Replace, with the gvim 6.1.265 I do get them. Both mention :promptfind and
    Message 1 of 5 , Jun 1, 2003
    • 0 Attachment
      Hi,

      When using gvim 6.2 (GTK version), I don't get a dialog for Find cq
      Find an Replace, with the gvim 6.1.265 I do get them. Both
      mention :promptfind and :promptrepl. I don't know since which
      version this happens. Is this intended?

      :version
      VIM - Vi IMproved 6.2 (2003 Jun 1, compiled Jun 1 2003 19:33:30)
      Compiled by Aschwin Marsman
      Huge version with GTK 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 +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 +netbeans_intg -osfiletype
      +path_extra -perl +postscript +printer -python +quickfix +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 +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 -I/usr/include/g
      tk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g
      -I/usr/X11R6/include
      Linking: gcc -L/usr/X11R6/lib -L/usr/local/lib -o vim -L/usr/lib -L/usr/X11R
      6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lm -lXt -lncurses
      -lgpm -ldl

      Kind regards,

      Aschwin Marsman

      --
      aYniK Software Solutions all You need is Knowledge
      Bedrijvenpark Twente 305 NL-7602 KL Almelo - the Netherlands
      P.O. box 134 NL-7600 AC Almelo - the Netherlands
      a.marsman@... http://www.aYniK.com
    • David Necas (Yeti)
      ... The dialog is realized, but not mapped to the screen. This ... +++ vim62/src/gui_gtk.c 2003-06-02 10:46:59.000000000 +0200 @@ -2659,6 +2659,7 @@
      Message 2 of 5 , Jun 2, 2003
      • 0 Attachment
        On Mon, Jun 02, 2003 at 08:30:03AM +0200, Aschwin Marsman wrote:
        > When using gvim 6.2 (GTK version), I don't get a dialog for Find cq
        > Find an Replace, with the gvim 6.1.265 I do get them. Both
        > mention :promptfind and :promptrepl. I don't know since which
        > version this happens. Is this intended?

        The dialog is realized, but not mapped to the screen. This
        fixes it for me:

        --- vim62.orig/src/gui_gtk.c 2003-06-02 10:46:55.000000000 +0200
        +++ vim62/src/gui_gtk.c 2003-06-02 10:46:59.000000000 +0200
        @@ -2659,6 +2659,7 @@
        gui_gtk_position_in_parent(GTK_WIDGET(gui.mainwin),
        GTK_WIDGET(frdp->dialog), VW_POS_MOUSE);
        gui_gtk_synch_fonts();
        + gtk_widget_show_all(frdp->dialog);
        #endif

        #ifdef HAVE_GTK2

        (due to the ugly way the dialog window is realized, this
        patch may not be exactly The Right Fix).

        Yeti
      • Aschwin Marsman
        ... This works for me too, thanks. ... I don t know either if its the right fix, but it works for me. In the dialog Found what: has 4.3 already in the text
        Message 3 of 5 , Jun 2, 2003
        • 0 Attachment
          On Mon, 2 Jun 2003, David Necas (Yeti) wrote:

          > On Mon, Jun 02, 2003 at 08:30:03AM +0200, Aschwin Marsman wrote:
          > > When using gvim 6.2 (GTK version), I don't get a dialog for Find cq
          > > Find an Replace, with the gvim 6.1.265 I do get them. Both
          > > mention :promptfind and :promptrepl. I don't know since which
          > > version this happens. Is this intended?
          >
          > The dialog is realized, but not mapped to the screen. This
          > fixes it for me:

          This works for me too, thanks.

          > --- vim62.orig/src/gui_gtk.c 2003-06-02 10:46:55.000000000 +0200
          > +++ vim62/src/gui_gtk.c 2003-06-02 10:46:59.000000000 +0200
          > @@ -2659,6 +2659,7 @@
          > gui_gtk_position_in_parent(GTK_WIDGET(gui.mainwin),
          > GTK_WIDGET(frdp->dialog), VW_POS_MOUSE);
          > gui_gtk_synch_fonts();
          > + gtk_widget_show_all(frdp->dialog);
          > #endif
          >
          > #ifdef HAVE_GTK2
          >
          > (due to the ugly way the dialog window is realized, this
          > patch may not be exactly The Right Fix).

          I don't know either if its the right fix, but it works for me.

          In the dialog "Found what:" has "4.3" already in the text box,
          is that intended? It looks like its the last thing entered.

          > Yeti

          Best regards and thanks again,

          Aschwin Marsman

          --
          aYniK Software Solutions all You need is Knowledge
          Bedrijvenpark Twente 305 NL-7602 KL Almelo - the Netherlands
          P.O. box 134 NL-7600 AC Almelo - the Netherlands
          a.marsman@... http://www.aYniK.com
        • Bram Moolenaar
          ... Well, it works for me. So long as nobody knows a better solution I ll include this. Thanks! -- Q: What is a patch 22? A: A patch you need to include to
          Message 4 of 5 , Jun 2, 2003
          • 0 Attachment
            David Necas wrote:

            > On Mon, Jun 02, 2003 at 08:30:03AM +0200, Aschwin Marsman wrote:
            > > When using gvim 6.2 (GTK version), I don't get a dialog for Find cq
            > > Find an Replace, with the gvim 6.1.265 I do get them. Both
            > > mention :promptfind and :promptrepl. I don't know since which
            > > version this happens. Is this intended?
            >
            > The dialog is realized, but not mapped to the screen. This
            > fixes it for me:
            >
            > --- vim62.orig/src/gui_gtk.c 2003-06-02 10:46:55.000000000 +0200
            > +++ vim62/src/gui_gtk.c 2003-06-02 10:46:59.000000000 +0200
            > @@ -2659,6 +2659,7 @@
            > gui_gtk_position_in_parent(GTK_WIDGET(gui.mainwin),
            > GTK_WIDGET(frdp->dialog), VW_POS_MOUSE);
            > gui_gtk_synch_fonts();
            > + gtk_widget_show_all(frdp->dialog);
            > #endif
            >
            > #ifdef HAVE_GTK2
            >
            > (due to the ugly way the dialog window is realized, this
            > patch may not be exactly The Right Fix).

            Well, it works for me. So long as nobody knows a better solution I'll
            include this. Thanks!

            --
            Q: What is a patch 22?
            A: A patch you need to include to make it possible to include patches.

            /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
            /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
            \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
            \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
          • Aschwin Marsman
            ... The same function is used in 6.1, looks like it got lost when merging GTK2. Kind regards, Aschwin Marsman -- aYniK Software Solutions all You need
            Message 5 of 5 , Jun 2, 2003
            • 0 Attachment
              On Mon, 2 Jun 2003, Bram Moolenaar wrote:

              > David Necas wrote:
              >
              > > On Mon, Jun 02, 2003 at 08:30:03AM +0200, Aschwin Marsman wrote:
              > > > When using gvim 6.2 (GTK version), I don't get a dialog for Find cq
              > > > Find an Replace, with the gvim 6.1.265 I do get them. Both
              > > > mention :promptfind and :promptrepl. I don't know since which
              > > > version this happens. Is this intended?
              > >
              > > The dialog is realized, but not mapped to the screen. This
              > > fixes it for me:
              > >
              > > --- vim62.orig/src/gui_gtk.c 2003-06-02 10:46:55.000000000 +0200
              > > +++ vim62/src/gui_gtk.c 2003-06-02 10:46:59.000000000 +0200
              > > @@ -2659,6 +2659,7 @@
              > > gui_gtk_position_in_parent(GTK_WIDGET(gui.mainwin),
              > > GTK_WIDGET(frdp->dialog), VW_POS_MOUSE);
              > > gui_gtk_synch_fonts();
              > > + gtk_widget_show_all(frdp->dialog);
              > > #endif
              > >
              > > #ifdef HAVE_GTK2
              > >
              > > (due to the ugly way the dialog window is realized, this
              > > patch may not be exactly The Right Fix).
              >
              > Well, it works for me. So long as nobody knows a better solution I'll
              > include this. Thanks!

              The same function is used in 6.1, looks like it got lost when merging GTK2.

              Kind regards,

              Aschwin Marsman

              --
              aYniK Software Solutions all You need is Knowledge
              Bedrijvenpark Twente 305 NL-7602 KL Almelo - the Netherlands
              P.O. box 134 NL-7600 AC Almelo - the Netherlands
              a.marsman@... http://www.aYniK.com
            Your message has been successfully submitted and would be delivered to recipients shortly.