Community
    • Login

    Problem with cursor position

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    16 Posts 4 Posters 5.2k 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.
    • Alter GraubartA
      Alter Graubart
      last edited by

      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

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Alter Graubart
        last edited by

        @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
        • Alter GraubartA
          Alter Graubart
          last edited by

          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

          EkopalypseE 1 Reply Last reply Reply Quote 0
          • Alter GraubartA
            Alter Graubart
            last edited by

            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.

            EkopalypseE 1 Reply Last reply Reply Quote 2
            • EkopalypseE
              Ekopalypse @Alter Graubart
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • EkopalypseE
                Ekopalypse @Alter Graubart
                last edited by

                @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
                • Alter GraubartA
                  Alter Graubart
                  last edited by

                  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

                  EkopalypseE Alan KilbornA 2 Replies Last reply Reply Quote 0
                  • EkopalypseE
                    Ekopalypse @Alter Graubart
                    last edited by Ekopalypse

                    @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
                    • Alan KilbornA
                      Alan Kilborn @Alter Graubart
                      last edited by

                      @Alter-Graubart

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

                      EkopalypseE Alter GraubartA 2 Replies Last reply Reply Quote 0
                      • EkopalypseE
                        Ekopalypse @Alan Kilborn
                        last edited by

                        @Alan-Kilborn

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

                        Alan KilbornA 1 Reply Last reply Reply Quote 0
                        • Alan KilbornA
                          Alan Kilborn @Ekopalypse
                          last edited by Alan Kilborn

                          @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
                          • EkopalypseE
                            Ekopalypse
                            last edited by

                            @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.

                            Alan KilbornA 1 Reply Last reply Reply Quote 0
                            • Alan KilbornA
                              Alan Kilborn @Ekopalypse
                              last edited by

                              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
                              • Terry RT
                                Terry R
                                last edited by Terry R

                                @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
                                • Alter GraubartA
                                  Alter Graubart @Alan Kilborn
                                  last edited by

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

                                  1 Reply Last reply Reply Quote 1
                                  • Alan KilbornA
                                    Alan Kilborn
                                    last edited by

                                    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
                                    • First post
                                      Last post
                                    The Community of users of the Notepad++ text editor.
                                    Powered by NodeBB | Contributors