Results 1 to 8 of 8

Thread: Behaviour of the "New" menu item in Leafpad

  1. #1
    Join Date
    Jan 2013
    Beans
    0

    Question Behaviour of the "New" menu item in Leafpad

    Are there any plans to normalize Leafpad's strange behaviour when choosing "New" in the File menu?

    All normal editors give a blank page in the current window. But Leafpad opens a new window with a blank page. This is the most annoying thing I've encountered in LXDE.

    Yes, I could just close the old window, but then the windows won't be in the intended order anymore, and I will have to search around for the correct window each time I'm moving to another of the open documents.

    And yes, I could download gedit (and I did) but it doesn't fit my colour scheme (menu items being black on black in gedit).

    Any plans to normalize Leafpad? Or does somebody know why they have made the editor behave so strangely?


    I intended to ask this on the LXDE forum, but it was impossible to register.

  2. #2
    Join Date
    Nov 2006
    Beans
    1,204

    Re: Behaviour of the "New" menu item in Leafpad

    Why is it impossible to register?

    http://forum.lxde.org/ucp.php?mode=r...eafa6063c0f787

  3. #3
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    6,439
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Behaviour of the "New" menu item in Leafpad

    Quote Originally Posted by purjuntu View Post
    Are there any plans to normalize Leafpad's strange behaviour when choosing "New" in the File menu?

    All normal editors give a blank page in the current window. But Leafpad opens a new window with a blank page. ...
    In other words, you want Leafpad to provide tabbed Windows?
    de gustibus et coloribus non est disputandum -- Wiktionary

  4. #4
    Join Date
    Jan 2011
    Location
    Kansas City, KS
    Beans
    1,274
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Behaviour of the "New" menu item in Leafpad

    Well, no - some some other editors close the current file and open a new one, so he's probably hoping for something like that. (I don't think that that behavior is useful or consistent, and I think the current behavior makes the most sense, because it's simply creating a new document, without additionally closing the current one. But I'm guessing that that's what he means. MS Notepad does this, I think. Apps like LibreOffice or Gimp don't, of course.)

  5. #5
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    6,439
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Behaviour of the "New" menu item in Leafpad

    Quote Originally Posted by Copper Bezel View Post
    ... But I'm guessing that that's what he means ...
    We'll wait patiently for a clarification
    de gustibus et coloribus non est disputandum -- Wiktionary

  6. #6
    Join Date
    Jan 2013
    Beans
    0

    Re: Behaviour of the "New" menu item in Leafpad

    Thank you for your answers.

    To Copper Bezel and Vasa1:
    Yes, that's just what I would have wished for; the good old MS Notepad way of closing the current file and replacing it with a blank page.
    I thought this was the normal way of functioning, and that Leafpad was an exception.
    But maybe it is rather MS Notepad which is the exception. OK.

    To Gremlinzzz:
    It was impossible to register, because it always said that my answers were incorrect, although I'm pretty sure they weren't.
    I answered "File Roller" to the question about which archiver is used in LXDE.
    And I answered "Audacious" to the question about the music player.
    Still it kept saying that my answers were incorrect.
    But now I got my answers here instead.
    Last edited by purjuntu; January 21st, 2013 at 01:17 AM. Reason: A little misspell.

  7. #7
    Join Date
    Jan 2011
    Location
    Kansas City, KS
    Beans
    1,274
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Behaviour of the "New" menu item in Leafpad

    I thought this was the normal way of functioning, and that Leafpad was an exception.
    But maybe it is rather MS Notepad which is the exception. OK.
    I think it was the typical behavior at the time MS Notepad was first released. Since then, there was that shift to MDIs, and then to a Macish the-window-is-the-document trend while other apps took on tabs instead of full MDIs. (And now most mobile and and web apps have gone straight back to one-document-at-a-time like Notepad. Oy.)

  8. #8
    Join Date
    Jan 2013
    Beans
    0

    Re: Behaviour of the "New" menu item in Leafpad

    I happened to find the perfect solution!
    Ctrl+W does exactly what I want; closing the document but not the window.
    So one can have the best of two worlds. Linux, but with a Notepad-ish editor.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •