* * *

Author Topic: Code Completion Window is Fullscreened by Window Manager  (Read 1917 times)

R0b0t1

  • Full Member
  • ***
  • Posts: 207
Code Completion Window is Fullscreened by Window Manager
« on: February 04, 2018, 04:44:12 am »
I use i3. It seems the code completion box does not set a proper hint (which i3 handles properly) and is consequently made fullscreen. In i3, this means it is behind other windows.

It is hard for me to screenshot the issue. The code completion popup is stretched across the entire screen behind all of the IDE windows.

If someone could help me find the styles (or title) applied to the code completion popup I may be able to work around this with window manager configuration.
« Last Edit: February 04, 2018, 09:00:25 pm by R0b0t1 »

Bart

  • Hero Member
  • *****
  • Posts: 3099
    • Bart en Mariska's Webstek
Re: Code Completion Window is Fullscreened by Window Manager
« Reply #1 on: February 04, 2018, 11:17:46 am »
Which Lazarus version?
What widgetset?

If your Lazarus version is 1.8 or higher, please file a bugreport.

Bart

Thaddy

  • Hero Member
  • *****
  • Posts: 6736
Re: Code Completion Window is Fullscreened by Window Manager
« Reply #2 on: February 04, 2018, 12:21:50 pm »
It's a bug in i3, not in lazarus. i3 is not a supported window manager.  Does not belong here. Belongs on i3 forums if any.
« Last Edit: February 04, 2018, 12:23:34 pm by Thaddy »
Ada's daddy wrote this:"Fools are my theme, let satire be my song."

R0b0t1

  • Full Member
  • ***
  • Posts: 207

Thaddy

  • Hero Member
  • *****
  • Posts: 6736
Re: Code Completion Window is Fullscreened by Window Manager
« Reply #4 on: February 04, 2018, 10:19:42 pm »
Ask i3....
Ada's daddy wrote this:"Fools are my theme, let satire be my song."

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4781
    • wiki
Re: Code Completion Window is Fullscreened by Window Manager
« Reply #5 on: February 04, 2018, 11:06:20 pm »
Code completion is NOT a hint window.

It gets focused. It interacts with keyboard and mouse.


R0b0t1

  • Full Member
  • ***
  • Posts: 207
Re: Code Completion Window is Fullscreened by Window Manager
« Reply #6 on: February 05, 2018, 12:55:04 am »
I didn't suggest the completion window was a hint or tooltip, though those styles might set the right properties.

Dialog windows like file selection windows or print windows were what I was referring to.

Claiming that Lazarus doesn't support a specific WM doesn't make a great deal of sense. WMs implement portions of the X11 protocol left to them. X11 does not precisely dictate how windows will be treated. It is better to think of the styling applied to an application's windows as hints. The application should function properly when these hints are ignored. There are many good reasons to ignore these hints; besides preference, the second most common is accessibility.

I think something regressed - I didn't have this problem before with the same setup.

Ondrej Pokorny

  • Full Member
  • ***
  • Posts: 202
Re: Code Completion Window is Fullscreened by Window Manager
« Reply #7 on: February 06, 2018, 09:29:22 am »
Claiming that Lazarus doesn't support a specific WM doesn't make a great deal of sense.

Just ignore Thaddy. He usually talks nonsense and he is neither a Lazarus or FPC team member. His claims have no value.

Thaddy

  • Hero Member
  • *****
  • Posts: 6736
Re: Code Completion Window is Fullscreened by Window Manager
« Reply #8 on: February 06, 2018, 10:23:32 am »
That's true, but ignoring me is at your own peril. It is true that I am the village idiot, but my example code always works clean. I know a hellofalot more about the Pascal language (and computer science) than you do at this point in time. And you are quite good.. O:-)

In this case it is not even about Pascal: it is over using a different window manager than X. You should know that.

No offence taken... But grumpy...
i3 CLAIMS to to be X compatible? Does Laz works on X? Yes. The widgets sets.
« Last Edit: February 06, 2018, 11:13:21 am by Thaddy »
Ada's daddy wrote this:"Fools are my theme, let satire be my song."

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6506
Re: Code Completion Window is Fullscreened by Window Manager
« Reply #9 on: February 06, 2018, 09:05:15 pm »
Note that Robot1 mentions GTK3 (not 2) in his bugreport

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus