Author Topic: QB64 v1.4 Release Candidate up for testing  (Read 18829 times)

0 Members and 1 Guest are viewing this topic.

Offline Make71

  • Newbie
  • Posts: 12
    • View Profile
Re: QB64 v1.4 Release Candidate up for testing
« Reply #60 on: January 28, 2020, 11:42:19 am »
I’ve tried to replicate the issue but haven’t had any luck with it with my system.  Whatever it is, it seems to be very machine specific.

Yes, in fact, my other PC sometimes thinks something, but pretty soon the black screen disappears and the IDE appears.

Offline Petr

  • Forum Resident
  • Posts: 1720
  • The best code is the DNA of the hops.
    • View Profile
Re: QB64 v1.4 Release Candidate up for testing
« Reply #61 on: January 28, 2020, 11:44:48 am »
I'm trying to throw this bug. No success yet. When you print those numeric variables, do you see them?

Offline Make71

  • Newbie
  • Posts: 12
    • View Profile
Re: QB64 v1.4 Release Candidate up for testing
« Reply #62 on: January 28, 2020, 11:56:35 am »
I'm trying to throw this bug. No success yet. When you print those numeric variables, do you see them?

Yes, of course I see.

Now I try this with my own program...

SCREEN _NEWIMAGE(800, 600, 32)
_FULLSCREEN

DO
    PRINT " TEST ";
LOOP UNTIL _KEYHIT = 27 ' Press ESC

SYSTEM

Works a couple of first times, but then it gets black again!

Offline Make71

  • Newbie
  • Posts: 12
    • View Profile
Re: QB64 v1.4 Release Candidate up for testing
« Reply #63 on: January 28, 2020, 12:00:36 pm »
" SCREEN _NEWIMAGE(640, 480, 32)
_FULLSCREEN

DO
    PRINT " TEST ";
LOOP UNTIL _KEYHIT = 27

'_FULLSCREEN _OFF: SYSTEM
'_SCREENHIDE: SYSTEM
_SCREENICON: SYSTEM "

 The last of the three lines at the end of the program (_SCREENICON: SYSTEM) seems to work every time in my version 1.4!
 Good thing and thank you to everyone who tried to help me! :-)
« Last Edit: January 30, 2020, 07:51:00 am by Make71 »

Offline Bert22306

  • Forum Regular
  • Posts: 206
    • View Profile
Re: QB64 v1.4 Release Candidate up for testing
« Reply #64 on: January 28, 2020, 04:11:04 pm »
So I really don't know where the problem is. This program works in QB64 in all versions, including 1.4.

Seems to work in Windows 7 or Windows 10, except for the one problem machine Make71 has. As Steve says, very machine specific. The most obvious first thoughts might be, the graphics card or the antivirus software?

Offline hanness

  • Forum Regular
  • Posts: 210
    • View Profile
Re: QB64 v1.4 Release Candidate up for testing
« Reply #65 on: February 02, 2020, 06:53:45 pm »
I've not been able to do extensive testing as I've been out of it with the flu, but here's what I've tested so far...

I do a lot with console output so that is where my testing has been focused.

VERSIONINFO - I've not tested all options, but the ones I have tested are all now working correctly with current versions of Windows.

SLEEP - This appears to be working just fine for me.

COLOR - All these statements are working in my testing

INKEY$ - Maybe I can put this on the wish-list for version 1.5. This currently is not working when the destination is a console, and I guess it's not expected to be working at this time.

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: QB64 v1.4 Release Candidate up for testing
« Reply #66 on: February 02, 2020, 07:07:51 pm »
Code: [Select]
DO
    x = _CONSOLEINPUT
    IF x = 1 THEN 'don't update for mouse input
        c = _CINP
        PRINT c;
    END IF
LOOP UNTIL c = 1

Use _CONSOLEINPUT and _CINP to get single character console events (and mouse events).
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline hanness

  • Forum Regular
  • Posts: 210
    • View Profile
Re: QB64 v1.4 Release Candidate up for testing
« Reply #67 on: February 03, 2020, 10:46:28 am »
Thanks, Steve.

Offline hanness

  • Forum Regular
  • Posts: 210
    • View Profile
Re: QB64 v1.4 Release Candidate up for testing
« Reply #68 on: February 03, 2020, 12:39:16 pm »
You are probably aware of this already, but I thought I would just mention it to be on the safe side:

I don't see help in the program yet (as of the Jan 29th dev build) for _CINP or for _CONSOLEINPUT

Offline OldMoses

  • Seasoned Forum Regular
  • Posts: 469
    • View Profile
Re: QB64 v1.4 Release Candidate up for testing
« Reply #69 on: February 07, 2020, 08:46:16 am »
Just reporting this, I don't know if it means anything in particular...

I fell asleep with the laptop in my lap. When I awoke this morning I was greeted by the following dialog box:

Alert: gluBuild2DMipmaps failed

When I clicked OK it was followed by:

Alert: 1285

When I clicked on this one, QB64 closed.

When I restarted, it asked if I wanted to recover from autosave, which I didn't as it was unnecessary. I had saved all my changes.

I don't recall if I was running the application when I lost consciousness, but it wasn't running when I awoke.

Perhaps my snoring irritated it. ;)

EDIT: After googling this, I gather it is associated with OpenGL, which I am NOT using in anything I do.
« Last Edit: February 07, 2020, 09:06:06 am by OldMoses »

Offline Make71

  • Newbie
  • Posts: 12
    • View Profile
Re: QB64 v1.4 Release Candidate up for testing
« Reply #70 on: February 09, 2020, 07:31:54 am »
There has been such a bug since version 1.3: When I run a program and when it stops, it doesn't always go back to the IDE. There will be a black screen. It is only when I move the mouse cursor down and click on it that the IDE opens.
My OS is Windows 7.  ps. Version 1.2 works fine.
After hard work, I finally solved the problem that caused the "black window" after the "END" or "SYSTEM" command!
 I adjusted my time on Win7 settings until the bug localized to: Control Panel\System and Security\System
 And here: Advanced system settings | Performance | Settings.
 Check the box to "enable desktop layout".

 After the operation, the "black window" no longer appears! ;-)

FellippeHeitor

  • Guest
Re: QB64 v1.4 Release Candidate up for testing
« Reply #71 on: February 09, 2020, 08:09:47 am »
Great news, Make71.

FellippeHeitor

  • Guest
Re: QB64 v1.4 Release Candidate up for testing
« Reply #72 on: February 09, 2020, 08:11:11 am »
You are probably aware of this already, but I thought I would just mention it to be on the safe side:

I don't see help in the program yet (as of the Jan 29th dev build) for _CINP or for _CONSOLEINPUT

Those have just been added to the wiki. In the IDE, hit Shift+F1 and open the Alphabetical order page. Then go to Help menu and choose Update this page.

The links for _CINP and _CONSOLEINPUT will show up. When you click them, these pages will be downloaded.

FellippeHeitor

  • Guest
Re: QB64 v1.4 Release Candidate up for testing
« Reply #73 on: February 09, 2020, 08:13:35 am »
EDIT: After googling this, I gather it is associated with OpenGL, which I am NOT using in anything I do.

You are always using it when you're using QB64, even in SCREEN 0, as it's OpenGL that renders the characters.

Something in the library clearly doesn't like going into sleep/hibernation mode on your machine. I personally always use hibernation and keep QB64 open across sessions and never had an issue, but I guess that's really very system-dependant.

Thanks for reporting, although in this case there's probably very little we can do.

FellippeHeitor

  • Guest
Re: QB64 v1.4 Release Candidate up for testing
« Reply #74 on: February 09, 2020, 01:03:02 pm »
Provided no major issues come up with the current test version, we'll be releasing it officially this week.

Hope everyone has had enough time to test it out.

❤️