Menu

#1632 Word Wrap in Notes not working

Next release
accepted
Medium
2 hours ago
4 days ago
MrMe
No

Steps to Reproduce.

  1. Install v3.72.1pre
  2. create and open a new database
  3. Open the Options screen (e.g. using Manage > Options on the main menu or use Ctrl-M)
  4. Click on Display and Enable Word Wrap Notes in Add & Edit then Click on the Ok button at bottom of the window to save the changes
  5. Add a new Entry (e.g. using Edit > Add Entry on the main menu to open the Add/Edit Entry screen)
  6. Enter a Title, Username, Password for the entry and Type a long sentence on one line (with space between words) in the Notes that would exceed the width of the Notes text area.

Expected result

  • The expected result is that words in the sentence would automatically wrap to the next line once the right edge of the Notes area is reached, but that is not occurring.
  • Right clicking on the Notes area and unchecking Word Wrap then right clicking on the Notes area a second time and selecting Word Wrap will show how the expected result should look. However, if you save the changes made to the Entry (with the Ok button) and then Edit the entry a second time to view the Notes, the text in the Notes area will not be word wrapped. What is expected is that the Notes area always shows it's content word wrapped if the setting is enabled in Options.

Discussion

  • Rony Shapiro

    Rony Shapiro - 4 days ago
    • status: open --> accepted
    • assigned_to: Rony Shapiro
     
  • Rony Shapiro

    Rony Shapiro - 4 days ago

    By coincidence, I've just uploaded an update to 3.72.1pre that addresses this very issue, plus another as described in the release notes.

     
    • MrMe

      MrMe - 4 days ago

      Ok. Great!
      Thank you.

       
      • MrMe

        MrMe - 3 days ago

        Hi Rony,

        I'm testing the updated 3.72.1pre. Word wrap is working again. Yay!
        I'll report a couple of other findings later today or tomorrow.

         
        • MrMe

          MrMe - 3 days ago

          Hi Rony,

          Here are some pictures with a brief description of what I'm seeing with the updated 3.72.1pre. Mainly some old display issues I've seen before reappearing. I tested on two different laptops.

          Laptop 1 is a HD screen (1920x1080) Windows laptop with the Windows scale at the recommended set by Windows of 125%. Laptop 2 is a High DPI screen (2560 x 1440) with the Windows scale at the recommended set by Windows of 200%.

          Pic_A, Pic_B, and Pic_C are from Laptop 1 while Pic_1, Pic_2 and Pic_3 are from Laptop 2.

          First a question that is possibly related to an issue. Pic_A and Pic_1 are of the Master Password Entry screen on each laptop. The master password screen shows the screen capture icon that screen capture protection is on. After I enter the correct password and the safe opens, the icon at the bottom of the password safe window shows that the screen capture protection is off! I am not able to screen capture the Master Password Entry screen, but after the safe is open, I can screen capture the application window and also the change password screen while. So, I'm not sure if not being able to turn off screen capture on the initial master password entry screen is a feature or a bug? I thought if screen capture was turned off on the Security tab in Options that it would also be off for the Master Password entry screen.

          Potential Issue 1: If you compare Pic_1 to Pic_A, the master password entry text on the High DPI screen laptop is tiny. My configuration of fonts in pwsafe.cfg on both laptops is the same. I believe this might be an issue of the Master Password entry not using the Password font/size configured in the pwsafe.cfg file.

          Potential Issue 2: On both laptops Password Safe is configured to show the dragbar. After I enter the correct password and the safe opens, there is sometimes a display glitch on both Laptop 1 and Laptop 2 where (compare Pic_2 and Pic B) i) the dragbar and the maintool bar overlap and ii) The status area at the bottom of the application window doesn't show anything. I can fix it by doing a Ctrl-F (showing the find Toolbar) and it clears up both issues as shown in Pic_3 and Pic_C. Also in Pic_3 on the High DPI Laptop you can see where I typed text into Find text box and it's not tiny as seen in the Master Password entry dialog because the font I have configured for my Add/Edit font is being used once the safe opens.

           
  • Rony Shapiro

    Rony Shapiro - 1 day ago

    Regarding screen capture:
    Since the "Exclude from screen capture" preference is stored in the database, turning it off (non-default) can only take effect after the database is open.
    To turn it off entirely, that is, also for the master password entry window, you need to turn it off in the installation options. This changes a registry key that's read before a database is open.

    The other issues are related to incorrect handling of Windows display scaling. Working on it...

     
    👍
    1
    • MrMe

      MrMe - 1 day ago

      Wow, it's more nuanced that I knew.

      I didn't realize that Exclude from screen capture is stored in the database, but I should have figured it out since I search the pwsafe.cfg file for it and couldn't find anything related to screen capture. Since it's a database stored config, I also figured if I open the safe R/W, it would be in blue text in Options. However in the updated 3.72.1pre it's not showing in blue text like other database stored settings.

       
  • MrMe

    MrMe - 2 hours ago

    Hi Rony

    Here is another minor issue I am seeing with with the updated v3.72.1pre. Not sure if this behavior predates the v3.72.x versions.

    Steps to reproduce.
    Initial Condition: Show Notes in Edit is not checked on the Display tab in Options

    1. Create an entry and add text in Notes such that the vertical scrollbar shows for the Notes text area. Then close the Edit Entry screen
    2. Edit the created entry. The Notes area would appear as in Screenshot1 requiring clicking on the Notes area to display the content.
    3. Click on the Notes area. The content of the Notes is visible starting from the first line in the Notes and the scrollbar starts at the top as in Screenshot2. This is the expected behavior
    4. Closed the Edit Entry screen
    5. Open Options and on the Display tab enable (check the box) for Show Notes in Edit then exit Options.
    6. Edit the entry a second time. Notice Notes text area is shown but this time the Notes text area and the Notes scrollbar are all the way at the bottom as in Screenshot3 (i.e. showing the Notes area scrolled to the bottom). Expectation and preference is that the Notes area would also be shown from the top as it did in Step 3 when Show Notes in Edit is not checked on the Display tab in Options.

    Thanks.

     

Log in to post a comment.

Auth0 Logo