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

Re: 6.2: GTK find/replace dialog missing

Expand Messages
  • 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 1 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 2 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 3 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 4 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.