Author Topic: Re: QB64 in Linux  (Read 735 times)

0 Members and 1 Guest are viewing this topic.

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: QB64 in Linux
« on: April 07, 2019, 08:45:16 pm »
The problem I have with Linux is that the window never leaves the foreground.

For example, open QB64.  Then open Firefox.   Firefox should now display on top of QB64 so you can view and read the browser.  However, QB64 stays active and on top of the screen, blocking the view of anything else you open after.

No idea WTH is going on, but it means I have to close QB64 anytime I want to look at anything else for reference.
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

FellippeHeitor

  • Guest
Re: QB64 in Linux
« Reply #1 on: April 07, 2019, 09:24:39 pm »
@[banned user]:
It's been programmed to do that. Look for instances of _WINDOWHASFOCUS in source/ide/ide_methods.bas

@SMcNeill:
https://www.virtualbox.org/ticket/12738

Offline Raven_Singularity

  • Forum Regular
  • Posts: 158
    • View Profile
Re: QB64 in Linux
« Reply #2 on: April 08, 2019, 03:52:35 pm »
Linux desktop apps should never have ALWAYS ON TOP enabled by default, that destroys desktop compatibility.  No sane app does this.

Hiding the current line signifier and cursor when the mouse leaves the window, but the app *still has focus*, is completely wrong and destroys desktop compatibility.

Whatever reasoning you used for enabling these two "features" was misguided, and abusive toward the end user.

What possible gain do either of these have to the GUI?  As asked, why do the Windows and Mac apps not also have this behaviour?

If the Windows version did this, you would have a ton of complaints, and rightfully so!

Offline Ryster

  • Newbie
  • Posts: 77
    • View Profile
Re: QB64 in Linux
« Reply #3 on: April 08, 2019, 04:00:55 pm »
i have Ubuntu 18.04.2 LTS and everything works fine.

Offline Raven_Singularity

  • Forum Regular
  • Posts: 158
    • View Profile
Re: QB64 in Linux
« Reply #4 on: April 08, 2019, 04:09:14 pm »
Meaning when your mouse cursor leaves the window, but the window still has focus, you can see your text cursor and current-line highlighter?

If so, then this is a bug and should be addressed.


i have Ubuntu 18.04.2 LTS and everything works fine.

Offline Ryster

  • Newbie
  • Posts: 77
    • View Profile
Re: QB64 in Linux
« Reply #5 on: April 09, 2019, 10:19:34 am »
So. I watched your movie on Youtube. Such a conclusion: the window is for writing, not for play. Write anything, for example, Input A and see if the line disappears. But if you still want to do nothing writing in the window and that the line does not disappear, install version 4 from the day 4 IV 2013. Only the question: what for?

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: QB64 in Linux
« Reply #6 on: April 09, 2019, 04:58:06 pm »
I run with Linux Mint 18.1 Cinnamon 64 bit. I have qb64 1.2 dev and qb64 1.3 stable installed and  everything runs as it should. So far, the only bugs I have found, are the ones that I create... lol
Logic is the beginning of wisdom.

Offline PMACKAY

  • Forum Regular
  • Posts: 188
  • LIFE is Temporary
    • View Profile
Re: QB64 in Linux
« Reply #7 on: May 07, 2019, 05:46:11 am »
Runs perfect on mint 19.1....

no issues...
MackyWhite

Offline luke

  • Administrator
  • Seasoned Forum Regular
  • Posts: 324
    • View Profile
Re: QB64 in Linux
« Reply #8 on: May 11, 2019, 02:39:44 am »
The "always on top" business is a VirtualBox bug regarding the layering of OpenGL windows.

Meanwhile, [banned user] has not provided nearly enough information here. Is his desktop focus rule set to mouse-over to focus or click to focus? Is he complaining about the window keeping keyboard focus or just the hiding of the cursor?