I have an issue with the fullscreen state of my QMainWindow (I use QT 5.3.1).
It works perfectly well with Windows and Debian on a PC, but when I try it on a tablet PC (C22 Tablet PC, Ekoore) with Ubuntu 14.04, the behavior is different.
As you can see on the below screenshot, the task bar and the window border are hidden, but it seams that the window is not resized to take all the screen...
http://postimg.org/image/ouyb1fvz5/
I confirmed that by printing debug in the resizeEvent method. Nothing happen when I call showFullscreen().
What is wrong here ? Have you any ideas ? I cannot find anything about that problem.
Thanks in advance. Cedric
I fixed my problem. My window was too big and a part was out of the screen before the call to showFullscreen().
It seams that the resize does not work in this case.
After resizing my window in Qt Creator, the fullscreen now works fine. I do not have a better answer about why it does not work on ubuntu when the window is too big.
Related
I observe strange behavior of the same code used in desktop application and IE11 plugin.
I'm adding OSD and some geometry to video frame using DirectDraw and Direct2D which works fine in desktop application. The same code is used in IE11 plugin but none of above appear on the video. In both cases I recalculate positions to match the current frame size and it works flawlessly in desktop. Once I switch to IE, everything is drawn off-screen. Once I stop recalculating positions it starts to appear in IE plugin (not exactly where it should be) but in desktop it looks definitely wrong. Frame sizes and coordinates (recalculated) are the same for both cases (added printouts to validate it). What is the problem could be and why it behaves differently between desktop and IE plugin?Running on Win10 x64, IE11, DirectX11Sorry, providing minimal reproducible example is quite problematic in this case, but I can try and show the code (quite a big chunk) if someone interested.
EDIT001: Oddly it works on another Win10 machine as expected. Have to be something with my local machine, the question is what is it.
Like I say in the title, Eclipse Neon's scroll panes cut away parts of their content. Here's a screenshot showing what I mean:
Notice they light-gray rectangles at the bottom, side, and top of the scroll pane containing the Java code. Same thing happens with any other scrollable GUI object in Eclipse, and it's becoming rather annoying.
This is happening in the latest version of Eclipse Neon running on Ubuntu 16.04 with the latest OpenJDK.
Any help with resolving this issue is appreciated.
It turned out I was using a GTK+ theme than did not work well with Eclipse, and was causing said issue (the theme in question was a Windows-10-lookalike theme).
I've been having this problem with the Matlab GUI (linux) that has been annoying me for over a year but I still haven't found a solution.
Basically, the autofix hints are not displayed. When I move the mouse cursor over a potential warning/suggestion, a gray-background pop-up appears but the text inside is missing. The same happens when I hover over those little warning bars on the right hand side of the editor. Does anyone have any clue what might be causing this?
Screenshot: http://i58.tinypic.com/4veu.png
This happens only on my linux machine (Ubuntu 14.04 LTS, NVidia GeForce with nvidia driver).
Thanks!
For those interested, this issue appears to be related to the Unity Desktop. Mathworks does not provide a fix but suggests using a different XServer instead. Here is the answer I received from support:
This issue is known to occur due to a windowing system used with
"linux" on which MATLAB has not been tested. It has been observed that
if you are using "Unity desktop" in "linux", then the tooltips are
displayed as blanks.
To work around this issue, you may try switching off "Unity desktop".
You can refer to the following links for more information on this
issue:
http://www.mathworks.com/matlabcentral/answers/116987-empty-tooltips-in-code-analyzer
matlab code analyzer produces empty tooltips
Indeed, I tried lubuntu and XUbuntu (Xfce) and the tooltips in Matlab were working in both cases. I find Unity very handy because I got used to it, so for now, I will probably simply not use this Matlab feature. Hopefully this will be fixed eventually.
It's an old post but some people may be still looking for a solution or a hack. Well, I also had this issue on R2015a when using two monitors and hiding Ubuntu 14.04 sidebar seems to do the trick. This link explains how to do it: http://www.howtogeek.com/198218/how-to-easily-hide-the-unity-launcher-in-ubuntu-14.04/. Hope it helps!
This is accomplished, in the article, by:-
1) Select “System Settings” from the drop-down menu.
2) The “System Settings” dialog box displays. In the “Personal”
section, click “Appearance.”
3) On the “Appearance” screen, click the “Behavior” tab.
4) On the right side of the “Behavior” tab, there’s an ON/OFF switch.
Click the switch so it reads ON.
5) The ON/OFF switch also turns orange. Additional options for how to
show the hidden Unity Launcher become available in the “Auto-hide the
Launcher” section of the “Behavior” tab. Under “Reveal location,”
select whether you want to move the mouse to any location on the “Left
side” or just to the “Top left corner” of the screen to reveal the
Unity Launcher. Use the “Reveal sensitivity” slider to change the
sensitivity of the reveal location.
6) Once you have chosen your settings, close the “Settings” dialog box
by clicking the “X” button in the upper-left corner of the dialog box.
This happens to me in Ubuntu 15.10 using xfce, with two monitors connected to an Nvidia GeForce 8600 GT, one of which is rotated to portrait orientation. The "workaround", from the page Anton linked, is to resize my matlab desktop such that the red underlined text or red scrollbar annotation is in the bottom third of my left monitor. Unbelievable.
My preferred workaround is to use Python+Scipy+Matplotlib instead of Matlab.
I just installed pgadmin3 on my Debian CrunchBang distro and the fonts inside looks with black background. I don't know how to fix it, I have default theme on everything.
I don't know if I can post this problem here, if I can't... sorry.
this post resolves issue.
You need to change color in server properties (in object browser window).
disconnect server then right click and open properties you will see you have an option to change colour
I'm using wxWidgets for a cross platform app. In this app, there is a text control that contains enough text to cause the vertical scrollbar to appear. However, I do not want the scrollbar to appear. There is a flag wxTE_NO_VSCROLL that works on Windows but not *nix. Any ideas?
I upgraded to wxGTK 2.9.0 and that worked.