Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: beta testing thinbasic 1.12.

  1. #1
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,533
    Rep Power
    171

    beta testing thinbasic 1.12.

    What happened to the horizontal scroll of thinair-codewindow?

    It's - to be honest - the worst behaviour that it ever had.

    After using the enter-key it means every time to adjust the horizontal position with those arrows (the scrollbars bar will not react - so it means to target those little arrows) - otherwise i can not see what i type in -
    and when i go somewhere into an existing line of code and start typing at an arbitrary position it moves out of sight so the input position is left of the leftmost visible position and its impossible to see what am typing in also.
    I think there are missing some Forum-sections as beta-testing and support

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,782
    Rep Power
    10
    Sorry but I do not see a so bad situation like you describe otherwise I would have fixed it.
    I use thinAir every single day

    Are you able to create a little video and put somewhere?
    Or an image showing what you see?

    Are there any other people experiencing something similar?

    Thanks a lot
    Eros
    Last edited by ErosOlmi; 07-03-2024 at 19:26.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #3
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,533
    Rep Power
    171

    comment after THEN make thinAir misbehave

    i do not have video and all i can say is the hscrollbar below codewindow uses up all space no matter how wide or narrow the longest line is and it's impossible to drag the scrollbar while clicking the arrows moves without any limit ( i will check if theme-related - maybe other themes behave different.

    Another bug of thinair blocks script execution, just paste this into empty script

        lLevel += 1 
        if lenf(sDir) < 4 then ' must be like C:\
          if lenf(sDir) < 2 then return false 
          sOut = Shell_CaptureOutput("cmd.exe /c fltmc volumes","", %SW_Hide, 10)
                llevel -= 1
                if lenf(sOut) then
                        if instr(1, sOut, $LF & ucase$(leftf$(sDir,2))) then 
                                return true
                        else 
                                return false
                        end if 
                end if 
                sOut = Shell_CaptureOutput("cmd.exe /c fsutil fsinfo volumeinfo " & leftf$(sDir,2), "", %SW_HIDE, 10)
                lLevel -= 1
                return iif( Tally(sOut, $LF) > 5, TRUE,FALSE)
                
        end if
    
    paste this to thinAir - see error below the section - blocking execution - comment is considered to be a statement following "then"
    remove comment after second line : execution will be no problem

    EDIT: trying different themes - no change. HScroll uses the full scrollbar size - unable to drag it, only arrows (keys or icons of scrollbar) allow movement
    Last edited by ReneMiner; 08-03-2024 at 04:00.
    I think there are missing some Forum-sections as beta-testing and support

  4. #4
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,782
    Rep Power
    10
    Attached my image

    Block warning is a false error. As you said it is caused by comment after THEN
    To understand if IF statement is single or multiple line IF I check if last token in IF line is THEN but in this case a comment can break the rule
    I will fix soon, thanks

    Regarding hscrollbar no way to replicate.
    I've tested in 3 computers with Win10 and Win11 but seems working quite fine. Not perfect but fine.
    Yes there is a little glitch when source code is larger then the edit window but no dramatic situation.
    I will try to fix this.
    Attached Images Attached Images
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  5. #5
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,533
    Rep Power
    171
    there's a difference... i 'm sure not related to longer codelines since the scrollbar handle uses the whole width even if empty script.

    thinAir1.jpg
    I think there are missing some Forum-sections as beta-testing and support

  6. #6
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,782
    Rep Power
    10
    OK at least, with an image, I can understand better.
    Never experience but of course is happening.
    I will try to replicate the situation.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  7. #7
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,782
    Rep Power
    10
    Also tested under Windows 11 and no way to replicate your situation

    Can you please give me details about your Operating System and the environment under which you are using thinBasic?
    I see a strange frame around thinAir in your image and I cannot understand your exact situation

    Thanks
    Eros
    Attached Images Attached Images
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  8. #8
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,533
    Rep Power
    171
    Strange frame? I think with Windows 11 they resurrected the XP-alike rounded window corners... I piped cmd.exe: Systeminfo >sysinfo.txt - stupid its not changeable in language -( utf8, dos-line-endings)- i guess you have it in italian then on your computer so at least you know what each line contains

    "Nicht zutreffend" means like "not matching" - probably the updates... However, my windows already started to disassemble itself - mostly it begins (and it has that since windows 8.1) with a strange message when i open the calculator: "You need a new app to open this ms-calculator-link"
    After a while most of the new immersive control-panel is not accessible any more : it messages me : oh my god you have to update virus-definitions and all that stuff - should do it automatic - but that whole branch in the controlpanel tells me i need a new app to open this ms-security-link, paint tells me i need a new app to open... anything ms- (i can see it in the registry) is noding its values to the wrong branches ,means setting are keys, values are settings and values there? none. But that applies only to microsoft apps - especially such that automatic start on logon - guess its MS way to protect their software by opening all those files and services -which prevents from accessing them using 3rd party software. I will setup a new windows soon 2024/1H is available since last month - but i did not think that it were responsible for thinAir-horizontal scrollbar since that is an issue for years already and i had it on dozens previous computers and any build of windows 10 - now up to 11

    sysinfo.txt


    BUG:

    Another thing ( i don't remember if it was corrected already) when using variablenames ENDING with an underscore as $_HI_ or %OLE_ or just _Alpha_,
    __Beta__, ___Gamma___ there is a problem with line continuation in the core-engine when such variable is the last element on a physical line, it appends the
    next line even it's not the same codeline, results are unpredicteable

    WHY:
    It is not aware that (actually only underscore which is not a delimiter but a wordchar) must be preceeded by whitespace ($tab or $Spc) to work as line-continuation sign.


    EXPERIENCES:
    Of all others there is the ampersand, CHR$(3, "&" that needs a bit more care than the others : Do not end a line with that char, do not start a new line with that char,
    best to use it (for string-concetanations) before an underscore and
    type a space which i make visible here as "·" after each: ...end string"·&·$CRLF·&·_·
    "new line can begin with quoted expression or variable

    Actually almost all the delimiters silently expect to be followed by a whitespace-char before the \r ($CR) - you will experience if using other text-editor that offer such friendly things as truncate all trailing whitespace.
    Don't you dare to think about...
    KEEP YOUR HANDS OFF THAT SWITCH!
    Do never ever use it - to save yourself the consequences as a recommendation

    if these invisible chars after the code disturb you, create yourself a small script - less than 10 lines thinbasic-code that will Rtrim all lines of a script and append a space then if the line does not end as comment
    I think there are missing some Forum-sections as beta-testing and support

  9. #9
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,782
    Rep Power
    10
    Ciao René,

    tried on other 2 Windows 11 computer and I was not able to create a situation like yours regarding horizontal scrollbar.

    Can you please try 2 things:
    1. try to split thinAir edit window vertically using little splitter dragger bottom left.
      See if it make any difference in the 2 horizontal scroll bars
      Possibly post here a picture.
    2. please give me your display settings showed in the attached image


    Thanks a lot
    Eros
    Attached Images Attached Images
    Last edited by ErosOlmi; 13-03-2024 at 08:07.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  10. #10
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,533
    Rep Power
    171
    on a horiontal split the right side still full scrollbar, the left seems ok. i totally forgot that split-thing
    Attached Images Attached Images
    I think there are missing some Forum-sections as beta-testing and support

Page 1 of 2 12 LastLast

Similar Threads

  1. thinBasic Beta Testing 1.11.7.0
    By ReneMiner in forum thinBasic Beta testing
    Replies: 6
    Last Post: 05-04-2022, 15:34
  2. thinBasic 1.10.5 help on testing a new feature
    By ErosOlmi in forum thinBasic Beta testing
    Replies: 11
    Last Post: 30-11-2017, 00:00
  3. Test Driven Development & Unit Testing for thinBASIC
    By Petr Schreiber in forum User files and/or user projects
    Replies: 11
    Last Post: 19-01-2014, 01:13
  4. OpenB3D Engine Wrapper for ThinBasic (open testing)
    By Artemka in forum TBGL Scripts and Projects
    Replies: 4
    Last Post: 12-03-2013, 23:38
  5. thinBasic Beta 1.8.2.x
    By ErosOlmi in forum thinBasic Beta testing
    Replies: 13
    Last Post: 21-06-2010, 10:10

Members who have read this thread: 8

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •