Menu

#1262 Status bar

Next_Nightly
open
None
Patch
2022-05-16
2022-04-28
LETARTARE
No

Hello,
I often use project names with a long path (exceeds half of the status bar), also to win some characters I offer this fix that works on 'hand.cpp' also avoiding some translations.

1 Attachments

Discussion

  • LETARTARE

    LETARTARE - 2022-04-28

    'hand.cpp' => 'main.cpp'

     
  • bluehazzard

    bluehazzard - 2022-04-28
    • assigned_to: bluehazzard
     
  • bluehazzard

    bluehazzard - 2022-04-28

    to improve future readability of long names, how would it be if we shorten the start of the file, until it has place in the status bar (if it is to long)? And add some hover tooltip to show the full path?
    just an idea, i have no idea if this is implementable....

    What is this change?:

    -    fulltitle.Append(appglobals::AppVersion);
    +    //fulltitle.Append(appglobals::AppVersion);
    +    wxString info = appglobals::AppBuildTimestamp.AfterFirst('-').BeforeFirst('(');
    +    fulltitle.Append( "r" + ConfigManager::GetRevisionString() + info);
         SetTitle(fulltitle);
     }
    
     
  • LETARTARE

    LETARTARE - 2022-04-28

    This is another modification , which I forgot to remove !
    I use different versions of 'CB' and it is to have an immediate reading of the constituent elements (eg : CodeBlocks-r1803-wx316-gcc810) without having to open the "help->about".

     

    Last edit: LETARTARE 2022-04-29
  • LETARTARE

    LETARTARE - 2022-04-29

    The previous oversight indicated another way.
    The title bar offers more characters to accommodate the full name of a file (variable length).
    The status bar holds the full name of the application which is of fixed size.
    Also I wrote the (modified) title in the status bar and the full file name in the title bar !!
    I kept the modifications on the width of the fields in the status bar (by laziness).

     
  • LETARTARE

    LETARTARE - 2022-04-29

    Disadvantage of this test : the status bar is used for the help texts of different actions.

    But without any action, the title modified is visible, so the information I was looking for is there.
    The title bar could also be used for everything: 'file + project + application information' because there are more characters available?

     

    Last edit: LETARTARE 2022-04-29
  • bluehazzard

    bluehazzard - 2022-04-30

    How does changing the app title interfere with the text in for example windows task bar? Now only the file title is visible, is this still the case when you add full path?

     
  • LETARTARE

    LETARTARE - 2022-04-30

    I had neglected this aspect, as I never use it. Thanks.
    For the title, I simply put 'short file name + project name' in front of it.

     
  • LETARTARE

    LETARTARE - 2022-05-04

    We could ask the developers for their opinion ?

     
  • bluehazzard

    bluehazzard - 2022-05-13

    Keep in mind: the title bar displays the same text as the editor tab, this is influenced by the setting in Editor->Other editor settings->Label editor tab is the files....

     
  • LETARTARE

    LETARTARE - 2022-05-16

    Well, this is for 'cb-12813'
    1- for the title field, I simply put "project file name + ' :: ' + full file name" .
    It is thus independent of the editor's display
    2- for the status field [0] , I put "Code::Blocks, r12813, sdk2.18.0, wx3.1.6, gcc8.1.0"
    This field will also show all the classic indications of the status bar when they are running and will return to this display afterwards

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.