emacs weird rendering of child frames - emacs

First and foremost: I'm still an emacs noob, so please consider me misunderstanding things.
I'm currently experience weird rendering errors when using child frames in emacs. This problems is consistent over many packages. Whenever a package creates a child frame, it get's rendered poorly.
Example using company-box:
Another package I've the same experience with is lsp-ui or specifially lsp-ui-doc. For the sake of making sure no other package is causing this I'm using this minimal setup. The artifacts still remain:
To me it looks like that the size the child frame should have is the portion thats being displayed + the black artifact (or grey in the lsp-ui pictures. But somehow it only displays a portion of the content correctly and blanks out the rest. You can see that the actual content in the portion being displayed is cut off.
I have to note that this doesn't happen 100% of times. But about 80% I guess. Sometimes the frame is displayed correctly.
I have absolutely no idea what is causing this. One thing that might be of interest is my setup:
OS: Windows 10 (using WSL)
Emacs: 26.3 (running in Ubuntu 18.04 LTS)
X Server: VcXsrv 1.20.5.1 (But I've also tried Xming 6.9.0.31 - same result)
I've trouble finding any information about this online. There's at least one person having the same issue using company-box. He's also launching emacs using wsl and VcXsrv, which makes me think this may be related to WSL/VcXsrv.
I'd appreciate any help.

for anyone who is experiencing the same issues - I have found a solution.
The problem is VcXsrv/Xming. Details about this bug can be found here.
The solution is to switch to another Xserver. I'm currently trying MobaXTerm which doesn't have that problem. However there might be other, better alternatives.
However it's good to have found the culprit in this case for anyone who is facing the same issue.

Related

How to fix code highlighted in red in VS Code

This happened suddenly after I restarted my computer, all of a sudden any code I type is highlighted in red. Does anyone know how to fix this? See image.
OS: Windows
UPDATE:
This is the weirdest thing, I simply restarted my computer (again), and it just disappeared. It's a shame, because I didn't get to figure out how it happened, but it's good to know about this Bisect feature in VS Code!
This might have something to do with one of your extensions acting up.
VScode has a nice feature to help you find the specific extension that's causing problems without you having to check each one individually.
VScode bisect function.
Press crtl+p then type bisect
It may be one of your extensions that makes this. You can check it by disabling them one by one(ctrl + shift +X and then choose installed). I guess maybe an extension that belongs these:enter image description here.
Hope helpful.

Command system("cls") is not working only in Visual Studio

So, I am starting with making projects in c++ in VSC and I wanted my first project to be simple snake game.
I started setting up the frame and since you have a while loop that is making frame over and over, I have to clear my old frame. After looking on web i figured i could use command system("cls") with libraries stdlib.h and cstdlib each and both.When i ran the code it erased only one line of code.So after a few hours of searching for a solution i went to Code Blocks ran code and it ran the code correctly.I don't understand what setting is blocking this command to work..
So, I got it.When I was making borders for my game I set my width and height to be 40.Then I thought about it and remembered I saw someone saying that the command system("cls") clears only the full screen of terminal.If you put width and height to be 40 that's more than it fits in terminal so the terminal is never cleaned fully and that's why it didn't work properly..

Eclipse text render issue

I am using Eclipse Neon2 on Mac. Text in code editor has render problem and overlaps on scroll. When I select all the text (cmd+a) it re renders and solves the problem. But when I re scroll it overlaps again.
I couldn't find a solution on internet.
How can I solve this.
Please check the screenshot.
I think it is a bug in Eclipse 489383. There are plenty of similar issues were reported and closed as duplicated, but this one is still open and, as I understand, targeted for version 4.6. There is a simple workaround that has helped in some cases (in mine it did help): export GTK3=0 before starting eclipse.

Tasks in Eclipse not Going Away

I just set up Eclipse for PHP Developers on a new machine, and now I have a problem I haven't experienced before.
Normally, I keep track of short-term work that I want to do by adding TODOs in comments on a file. These show up on the right side of the editing window as little blue rectangles. This helps me find the next thing I need to work on.
That part is working, but when I remove the comment the blue rectangles aren't going away. I have used Eclipse for years and never had this problem before.
Anyone know why this isn't working?
For tasks added in the source file's syntax, you often need to Clean and Build the project again to reprocess the file (those are handled in the relevant compiler). For ones that don't get "compiled", check the General->Editors->Structured Text Editors->Task Tags page and have it try to redetect them from there.

Empty Dialogs in Flex Builder

I have been experiencing a strange issue in Flex Builder 3 where certain dialogs such as the Add New Project wizard and the SVN Commit dialog are completely empty save for the title area.
I'm running Flex Builder v3.0 (build 3.02.2.214193) on the Windows 7 RC. I have tried completely uninstalling and reinstalling Flex Builder to no avail. I don't think it's Windows 7 causing the issues because it was working a couple of months ago with no problems. Even more strange is that I have not installed any additional plugins or made any configuration changes to Flex Builder between the time before these problems began and now.
Has anyone else encountered this problem, and if so, know of any solutions?
Here are a couple of screenshots to illustrate the behaviour.
alt text http://www.colincochrane.com/image.axd?picture=2009%2f9%2fdialog2.PNG
alt text http://www.colincochrane.com/image.axd?picture=2009%2f9%2femptydialog.png
You are probably running Logitech SetPoint. Try killing all setpoint processes. (you don't even have to restart flex). It worked for me :-S
According to this Adobe forums post, there are multiple causes:
SetPoint (as indicated by Scheea)
Wacom Tablet drivers
In addition, comments suggest the following:
UltraMon
These seem to suggest that the cause is any program which monitors keystrokes or mouse movement.
Workaround: In the new wizard dialog above, note the question mark on the bottom left (the help button). When you click on the help button a help panel is added to the dialog on the right separated from the main dialog by a splitter. When you drag the splitter the rest of the dialog appears. You may need to scroll to a position where you can see all of its contents, but it should become usable. Resizing the dialog alone was not sufficient for me.
In addition, I couldn't fully use the mouse to select elements so I had to type into the filter field in order for the correct projects to show up.
I had the issue with Window7 x64 Ultimate with FB3 Pro and shutting down Set Point seems to have fixed the issue.
For me it was Set Point and Display Fusion (allows you to set up multiple background images as wallpaper on multiple monitors). Took a lot of hair pulling to figure this out.