• Login
Community
  • Login

Problem with cursor position

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
16 Posts 4 Posters 5.9k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    Alter Graubart
    last edited by Oct 18, 2020, 7:06 PM

    Whenever I past a text copied from a website into NP++ the cursor position is messed up. It is not between the characters, but e.g. above a character. See attached screenshot. As far as I can see, this happens only when copying text from a website.
    2020-10-18_21h04_03.png

    E 1 Reply Last reply Oct 18, 2020, 7:08 PM Reply Quote 0
    • E
      Ekopalypse @Alter Graubart
      last edited by Oct 18, 2020, 7:08 PM

      @Alter-Graubart

      can you post the debug info which is available from the last menu item, the ? menu?

      1 Reply Last reply Reply Quote 0
      • A
        Alter Graubart
        last edited by Oct 18, 2020, 7:35 PM

        Notepad++ v7.9 (64-bit)
        Build time : Sep 22 2020 - 03:19:04
        Path : C:\Program Files\Notepad++\notepad++.exe
        Admin mode : ON
        Local Conf mode : OFF
        OS Name : Windows 10 Pro (64-bit)
        OS Version : 2004
        OS Build : 19041.572
        Current ANSI codepage : 1252
        Plugins : ComparePlugin.dll mimeTools.dll NppConverter.dll NppExport.dll

        E 1 Reply Last reply Oct 18, 2020, 7:47 PM Reply Quote 0
        • A
          Alter Graubart
          last edited by Oct 18, 2020, 7:46 PM

          I just found the solution: I had the idea that it might got something to do with my 4k monitor and upscaling and indeed this is the solution: With standard settings, the menu items and icons in NP++ are very small on a 4k monitor. To avoid this and blurry menus I changed the high DPI settings to “System(Extended)”. Going back to default settings solved the problem.
          So maybe in a future update you can take the usage of NP++ on 4k monitor into account.

          E 1 Reply Last reply Oct 18, 2020, 7:51 PM Reply Quote 2
          • E
            Ekopalypse @Alter Graubart
            last edited by Oct 18, 2020, 7:47 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • E
              Ekopalypse @Alter Graubart
              last edited by Oct 18, 2020, 7:51 PM

              @Alter-Graubart

              Afaik a newer scintilla release >= 4.4 is needed.
              DonHo, the author of npp mentioned that he wants to update scintilla in one of the next releases.

              1 Reply Last reply Reply Quote 1
              • A
                Alter Graubart
                last edited by Oct 18, 2020, 7:51 PM

                Just to give yo an impression of what I mean:
                Standard settings:
                2020-10-18_21h49_26.png
                changed High DPI settings:
                2020-10-18_21h50_10.png

                E A 2 Replies Last reply Oct 18, 2020, 8:04 PM Reply Quote 0
                • E
                  Ekopalypse @Alter Graubart
                  last edited by Ekopalypse Oct 18, 2020, 8:05 PM Oct 18, 2020, 8:04 PM

                  @Alter-Graubart

                  I’m not 100% sure but it could be that this issue is covered by that
                  conversation/patch. This patch has been introduced in scintilla 4.4

                  1 Reply Last reply Reply Quote 1
                  • A
                    Alan Kilborn @Alter Graubart
                    last edited by Oct 18, 2020, 8:33 PM

                    @Alter-Graubart

                    I don’t see a difference in those two screenshots.

                    E A 2 Replies Last reply Oct 18, 2020, 8:34 PM Reply Quote 0
                    • E
                      Ekopalypse @Alan Kilborn
                      last edited by Oct 18, 2020, 8:34 PM

                      @Alan-Kilborn

                      take a closer look at the space sign - hard to see.

                      A 1 Reply Last reply Oct 18, 2020, 8:37 PM Reply Quote 0
                      • A
                        Alan Kilborn @Ekopalypse
                        last edited by Alan Kilborn Oct 18, 2020, 8:38 PM Oct 18, 2020, 8:37 PM

                        @Ekopalypse

                        What is a “space sign”?
                        Really, I’m confused here.
                        The amount of horizontal spacing?
                        This thread started out talking about a caret/cursor.
                        I see one in neither of the screenshots.

                        1 Reply Last reply Reply Quote 0
                        • E
                          Ekopalypse
                          last edited by Oct 18, 2020, 8:46 PM

                          @Alan-Kilborn said in Problem with cursor position:

                          @Ekopalypse

                          What is a “space sign”?

                          The sign used to visually represent a space char.

                          Really, I’m confused here.
                          The amount of horizontal spacing?
                          This thread started out talking about a caret/cursor.
                          I see one in neither of the screenshots.

                          In the first screenshot there is one, but, yes, the 2nd and third do not contain any but from the discussion I thought it is clear that the problem is about the visual representation if using high dpi monitors.

                          A 1 Reply Last reply Oct 18, 2020, 8:51 PM Reply Quote 0
                          • A
                            Alan Kilborn @Ekopalypse
                            last edited by Oct 18, 2020, 8:51 PM

                            Hmmm, I see visual whitespace in both screenshots.
                            I guess things can look different on different monitor types, but different is “okay” I suppose, if there is no usability problem, which I have yet to see evidence of from this discussion.
                            Hopefully if someone reports a bug they do a better job of describing it than is taking place in this discussion.
                            I’m not adding anything to this convo, so I’m out. :-)

                            1 Reply Last reply Reply Quote 0
                            • T
                              Terry R
                              last edited by Terry R Oct 18, 2020, 9:14 PM Oct 18, 2020, 9:14 PM

                              @Alan-Kilborn said in Problem with cursor position:

                              I see visual whitespace in both screenshots.

                              Sorry I can’t help but when I enlarged the High DPI screenshot I see this:

                              57cea54f-526f-47d4-9632-c699ade54653-image.png

                              The “visual space” characters (aka red period) are sliding along the lines from their intended position… As being different from the standard monitor screenshot the High DPI seems the cause of the issue. Hopefully a solution will be in hand sooner rather than later.

                              Terry

                              1 Reply Last reply Reply Quote 2
                              • A
                                Alter Graubart @Alan Kilborn
                                last edited by Oct 19, 2020, 12:23 PM

                                @Alan-Kilborn Look at the icon bar and you will see the difference. ;)

                                1 Reply Last reply Reply Quote 1
                                • A
                                  Alan Kilborn
                                  last edited by Oct 19, 2020, 12:28 PM

                                  icon bar

                                  Yes, different but “usable”?
                                  The toolbar icons for one of the plugins, on the far right, are much smaller in one case.

                                  More disturbing is what @Terry-R pointed out with the whitespacing dots.

                                  It’s probably just a “legacy app” issue that isn’t going to get fixed soon, if ever.

                                  But thanks to all who pointed specifically what is different in the images. It would have been great to have a short textual list with the first posting of the screenshots, to save anyone who cared the time spent doing “Where’s Waldo”.

                                  1 Reply Last reply Reply Quote 0
                                  4 out of 16
                                  • First post
                                    4/16
                                    Last post
                                  The Community of users of the Notepad++ text editor.
                                  Powered by NodeBB | Contributors