Recent

Author Topic: GUI ran mmok  (Read 1384 times)

gnappi

  • New member
  • *
  • Posts: 8
GUI ran mmok
« on: August 06, 2024, 05:26:57 pm »
I'm still getting the feel of the GUI and I'm too timid to get bold with trying to customize it but the whole shebang ran amok this AM and I did nothing other than F9 the code I'm playing with.

The main screen has blown off the edge of the display (No -, full screen or X) and I can view EITHER the source editor or object inspector not both simultaneously.

Should I / do I need to reinstall?


MarkMLl

  • Hero Member
  • *****
  • Posts: 7712
Re: GUI ran mmok
« Reply #1 on: August 06, 2024, 05:36:51 pm »
Precisely what OS and desktop environment are you running?

You need to research what key combinations are used as shortcuts to full-screen etc. windows, without more info it's difficult for anybody here to help.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

gnappi

  • New member
  • *
  • Posts: 8
Re: GUI ran mmok
« Reply #2 on: August 06, 2024, 06:02:02 pm »
Precisely what OS and desktop environment are you running?

You need to research what key combinations are used as shortcuts to full-screen etc. windows, without more info it's difficult for anybody here to help.

MarkMLl

Screen cap of my Linux distro...


MarkMLl

  • Hero Member
  • *****
  • Posts: 7712
Re: GUI ran mmok
« Reply #3 on: August 06, 2024, 06:08:09 pm »
Right, Mint with Cinnamon... you could have just typed that.

Google suggests that https://defkey.com/linux-mint-cinnamon-shortcuts might be useful, but other hits point out that dragging a window to the top etc. of the screen will cause it to go fullscreen.

Personally, I very much dislike hotkeys etc. and tend to disable as many as possible. God (or at least Xerox PARC) gave us menus... :-)

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

gnappi

  • New member
  • *
  • Posts: 8
Re: GUI ran mmok
« Reply #4 on: August 06, 2024, 07:04:09 pm »
I've posted very few times here, and from what I'm reading is everyone as acidic in their replies as you are? It seems so.

Sorry to waste your time.

cdbc

  • Hero Member
  • *****
  • Posts: 1535
    • http://www.cdbc.dk
Re: GUI ran mmok
« Reply #5 on: August 06, 2024, 07:11:36 pm »
Hi
I'm on Linux too. On a HP lappy and that means, "No Touchy Them F-keys" at all, if (I)you do, "It all goes to hell in a handbasket", so I don't.
That's 'bout all the help I can offer  %) Sorry mate...
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0

MarkMLl

  • Hero Member
  • *****
  • Posts: 7712
Re: GUI ran mmok
« Reply #6 on: August 06, 2024, 07:22:18 pm »
Hi
I'm on Linux too. On a HP lappy and that means, "No Touchy Them F-keys" at all, if (I)you do, "It all goes to hell in a handbasket", so I don't.
That's 'bout all the help I can offer  %) Sorry mate...
Regards Benny

I agree about not relying on F-keys and am a habitual menu user, but right now the issue is trying to help sort things out.

OP, are you currently stuck, or is the issue trying to avoid getting back into a situation where something goes full-screen?

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

gnappi

  • New member
  • *
  • Posts: 8
Re: GUI ran mmok
« Reply #7 on: August 06, 2024, 08:18:52 pm »
Since I have the files locally, an easier fix to try was re-installing the three packages and the issue went away but now when I run (using F9 which I'll avoid now) the form is blank.


MarkMLl

  • Hero Member
  • *****
  • Posts: 7712
Re: GUI ran mmok
« Reply #8 on: August 06, 2024, 08:46:39 pm »
I'd not expect reinstalling the packages- at least on a unix-style OS- to have any useful effect.

First: can you confirm that you're using Lazarus, not the text-mode editor etc.?

Assuming that you're using Lazarus, I think that the two things you need to be looking for are a directory named ~/.lazarus or similar (I'll spell that out since I don't know your unix/Linux experience: a directory named .lazarus in your home directory, the leading . will prevent it from showing up in ordinary file listings) which contains the Lazarus configuration info including a list of recently-used files etc., and a file named something.lps in the directory containing your project which contains the specific state of that project i.e. what files are currently open etc.

I'd expect an ordinary Lazarus Compile, Build or Run (all in the top-level Run menu) to all save your project files (something.lpi, something.lpr, something.pas etc.) and then to compile. It's usual for a new user to start off with a very simple program with nothing but a standard button on a form... make sure you've got that and don't try anything fancy until you've got some level of confidence in what's going on.

I don't know how many Mint/Cinnamon users there are around here, I use Debian/KDE. I suggest- strongly- that if these problems persist you tell us /what/ version of Lazarus you've got, what processor it's targeting (even if x86, there's 32- and 64-bit variants) and where you got it: was it packaged by Mint or did you get if from the Lazarus site? Each time you start a separate problem I suggest putting that in the first msg, DO NOT put it in your sig since every time you edit that it will affect every message that you've ever posted so there will be no ongoing archive of what compiler/IDE version was causing you which problem.

MarkMLl

p.s. sorry if I'm rather curt: I'm currently trying to focus on a geometry problem and having a hard time.
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

gnappi

  • New member
  • *
  • Posts: 8
Re: GUI ran mmok
« Reply #9 on: August 07, 2024, 01:51:09 am »
Thanks and yes it's Lazarus in a .lazarus (hidden) folder and reinstalling got the weird on screen behavior fixed.

The code files I put in a separate folder and they load and execute fine which I suspect is OK?

The form has two buttons just manipulating the enable / disable and caption of the two buttons.   


gnappi

  • New member
  • *
  • Posts: 8
Re: GUI ran mmok
« Reply #10 on: August 07, 2024, 02:38:03 am »
I deleted all of my saved files, recreated it and it all works.

MarkMLl

  • Hero Member
  • *****
  • Posts: 7712
Re: GUI ran mmok
« Reply #11 on: August 07, 2024, 08:51:11 am »
Sounds good :-)

If you do end up in similar odd states, probably the first thing to do is delete the something.lps file which is the list of open IDE windows etc. It's unusual for things like this to happen, /but/ every window manager (which I believe is one of the roles of Cinnamon) has its quirks.

Take everything gradually and you should be fine.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018