Community
    • Login

    Different indicator for unsaved Tabs

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    18 Posts 5 Posters 2.3k 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.
    • PeterJonesP
      PeterJones @Alan Kilborn
      last edited by

      @Alan-Kilborn said in Different indicator for unsaved Tabs:

      @PeterJones said in Different indicator for unsaved Tabs:

      I’m not a big fan of the “asterisk” method, as it is hard to see (but I get it for color-impaired persons).

      There is historical precedent (as in title bar). But I’m not stuck on that – I just think convincing Don “you already use an asterisk in the title bar, so please also use it in the tab bar” is a more likely successful tactic.

      💾 for a saved file
      It’s okay, because it satisfies the historical purists, and not just history of diskettes, but the history in Notepad++!

      :-)

      But, and I’m not the expert of Unicode characters here to provide an example, but what about a bright-green (sorry OP!) checkmark for a saved file (green implies “saved”)?

      ✅ ☑ 🗹 ✓✔

      Note that all of my examples were just what I could find at http://www.fileformat.info/info/unicode/char/search.htm, and were just meant to be indicative of the icon, not the exact representation (since I don’t know what font is displaying the unicode character on your browser, I have no idea what the character looks like to you.

      ---------------------------

      I do like these, choices, very much:

      🔒 for read-only

      ✎ for an edited file

      But why not a RED (again, sorry OP) pencil? Red implies “unsaved”, at least in my world.

      Once again, unicode to give the gist; actual design would be a true icon bitmap, with appropriate colors

      And yes, I prefer the red lock from PR 5097 to the yellow-on-black that the unicode char looks like in my font. Red pencil would be a great idea.

      And… I think the colors of the little icons should NOT change whether or not a tab is the active one or one of the inactives.

      Definitely.

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

        I realize the Unicode samples are just that, but they are very helpful I think to “hammer out” a prototype solution (not that all our “blacksmithing” skills matter one iota).

        Of the checkmarks, I like the rightmost green one:

        2242e3e1-545b-4f68-9957-f0a36cc20eee-image.png

        It has the advantage of “slanting” the opposite way of the pencil, which is a further differentiator:

        0f8db7a3-190b-4452-b454-435c9c95d578-image.png

        If the “pencil” is made red, I’d prefer the “lock” be yellow as it implies “caution” (which is what the readonly attribute on a Windows file implies – “change at your own risk, I’m just a suggestion”):

        20d8c68c-f56e-450a-9185-1ad5be17bdaa-image.png

        Images (re)provided so you can for sure see what I saw. :-)

        Are we missing anything in the set? Could something different be done for OneDrive or network share files? Hmmmm…

        One more thought: “Boxing” like some of the checkmarks have, is undesirable because it “muddies” the pureness of the image trying to be represented.

        PeterJonesP 1 Reply Last reply Reply Quote 0
        • PeterJonesP
          PeterJones @Alan Kilborn
          last edited by PeterJones

          @Alan-Kilborn said in Different indicator for unsaved Tabs:

          I realize the Unicode samples are just that, but they are very helpful I think to “hammer out” a prototype solution (not that all our “blacksmithing” skills matter one iota).

          Of the checkmarks, I like the rightmost green one:

          2242e3e1-545b-4f68-9957-f0a36cc20eee-image.png

          Images (re)provided so you can for sure see what I saw. :-)

          Interesting: all but the first checkbox were just black and white in my font.
          ec672619-04a0-4b3f-a57c-f169e227e6dd-image.png

          Are we missing anything in the set? Could something different be done for OneDrive or network share files? Hmmmm…

          We already have the eye-icon for a file being monitored.

          One more thought: “Boxing” like some of the checkmarks have, is undesirable because it “muddies” the pureness of the image trying to be represented.

          Good point. I was just showing a wide variety of checkmarks

          I have created the issue: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8068 – feel free to add suggestions or example images over there to support/bolster my case. :-)

          1 Reply Last reply Reply Quote 0
          • astrosofistaA
            astrosofista @richlux
            last edited by

            Hi @richlux, All

            Is it possible to add an indicator next to the filename, such as an asterisk (*) when a tab has changed, but is not saved? Anything but color would be helpful.

            Let me suggest you to take look at Window > Windows… and you will notice that unsaved tabs show an asterisk at the end of their filenames.

            It is not as handy as to have that indicator visible in the title bar, but may help you while the feature request is delivered (if ever).

            BR

            1 Reply Last reply Reply Quote 1
            • richluxR
              richlux
              last edited by

              I’m glad others feel as strong about this as I do. Thanks for all the comments. I see that Peter already created a feature request and sasumner split it into 3 distinct features. Now I guess I just wait to see if someone decides it’s worth doing. @astrosofista, thanks for the Window -> Windows… suggestion. I didn’t know about that and it helps, but not nearly as nice as a quick visual cue would be.

              Thanks,
              Rich

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

                @richlux

                Someone in your situation might also be able to provide valuable input on some other “accessibility” issues I located:

                • Accessibility: text color in Find and Mark dialog status bar fails to change with system visual theme settings

                • Feature request: Variable transparency for “Find Results” active / current line for people with low vision.

                1 Reply Last reply Reply Quote 0
                • guy038G
                  guy038
                  last edited by guy038

                  Hello, @richlux, @alan-kilborn, @peterjones, @astrosofista and All,

                  Generally speaking, there are about 8.3 % of colour-blind people, among the world population !

                  All these people can be broken down into the different groups, below, with their proportions :

                      Anomalous Trichromacy :                       Dichromatic view :                          Monochromatic view :
                  
                  Red-Weak/Protanomaly        1%             Red-Blind/Protanopia        1%             Monochromacy/Achromatopsia  < 0.0001%
                  Green-Weak/Deuteranomaly    5.2%           Green-Blind/Deuteranopia    1.1%           Blue Cone Monochromacy        0.001%
                  Blue-Weak/Tritanomaly       0.0001%        Blue-Blind/Tritanopia       0.008%         Rod Monochromacy              0.003%
                  

                  This means that, roughly, 92.7% of people have a normal vision


                  To understand the colour problems, faced by colour-blind people, here’s what they actually see when Notepad++ is opened with three tabs, on a Win XP laptop :

                  • The first one, with a file to save ( Richlux.txt )

                  • The second one, with a file already saved ( license.txt )

                  • The third one, with a read-only file ( Don-Ho.txt )

                  Here are the screen-shots of Notepad++, as seen by the main groups, with these visual impairments and people with normal vision :

                  • Normal vision ( ~ 92,7% ) :

                  4f148269-f000-4da9-b3d3-df5a8985481a-image.png

                  • Red-Weak/Protanomaly ( ~ 1% ) :

                  bdef9b29-cbe4-4889-890b-c4d5d3ef87a5-image.png

                  • Green-Weak/Deuteranomaly ( ~ 5.2% ) :

                  a60058e0-f352-4d8e-843d-6dfba2fce0bb-image.png

                  • Red-Blind/Protanopia ( ~ 1% ) :

                  63b664d8-ff32-4739-9cb1-cecb664d7402-image.png

                  • Green-Blind/Deuteranopia ( ~ 1.1% )

                  146d2a93-f610-441a-a124-d0718913657b-image.png

                  As you can see, it is far from being simple for this category of people and every developer should pay attention to this aspect when developing his software !


                  Note that I got these screenshots, with the help of a color-blind simulator, below :

                  https://www.color-blindness.com/coblis-color-blindness-simulator/

                  Best Regards,

                  guy038

                  Alan KilbornA richluxR 2 Replies Last reply Reply Quote 2
                  • Alan KilbornA
                    Alan Kilborn @guy038
                    last edited by

                    @guy038

                    Nice analysis.

                    An after thought: It may improve things for users if they make sure Preferences -> General -> Tab Bar -> Darken inactive tabs is un-ticked ? I’m not sure how the adjacency of contrasting colors might affect those with vision issues.

                    1 Reply Last reply Reply Quote 2
                    • richluxR
                      richlux @guy038
                      last edited by

                      @guy038 said in Different indicator for unsaved Tabs:

                      As you can see, it is far from being simple for this category of people and every developer should pay attention to this aspect when developing his software !

                      This is why using color as the only means to portray meaning is a big no no for accessibility. I work for a company that does software/website development for the Federal Government and all software developed must adhere to the Section 508 Accessibility standards (https://www.epa.gov/accessibility/what-section-508). This means making sure it can be used by the visually impaired, physically impaired, etc. We would never be allowed to use color in this way, because a screen reader wouldn’t be able to convey this to the user.

                      Rich

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

                        @richlux

                        You “endorsed” Resource Hacker in this thread: https://community.notepad-plus-plus.org/topic/14038/remove-spam-from-program-s-description

                        You could probably employ that same program to change the tabs on the tab bar, if Notepad++ devs don’t do something for the opened issue(s). Just sayin.

                        richluxR PeterJonesP 2 Replies Last reply Reply Quote 1
                        • richluxR
                          richlux @Alan Kilborn
                          last edited by

                          @Alan-Kilborn
                          Hmmm. I never thought of that. This would work, but I would need to make the changes every time I upgraded Notepad++. I might try it just to see what it would look like.

                          Thanks,
                          Rich

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

                            @Alan-Kilborn said in Different indicator for unsaved Tabs:

                            if Notepad++ devs don’t do something

                            The good news is, @Scott-Sumner is involved in those issues now, so at least there’s an advocate who agrees with us, and might be able to convince Don to accept the PR when they are provided. Let’s hope. :-)

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

                              @richlux said in Different indicator for unsaved Tabs:

                              I would need to make the changes every time I upgraded Notepad++.

                              True; it’s called “patching”. :-)
                              But unlike most patching, it doesn’t require rebuilding the source code.
                              Plus AFAIK Resource Hacker has a command line way of doing things, in addition to its GUI, so it could be relatively painless to have truly personalized tab bar icons!

                              I might try it just to see what it would look like.

                              Additional prototypes of acceptable solutions would be good I’m sure.

                              1 Reply Last reply Reply Quote 2
                              • First post
                                Last post
                              The Community of users of the Notepad++ text editor.
                              Powered by NodeBB | Contributors