setWindowFlags(Qt::WindowStaysOnTopHint | Qt::X11ByPassWindowsManagerHint) on Linux - qt

I want my Qt form to always stay active and remain on top whether it is active or not by using this function setWindowFlags(Qt::WindowStaysOnTopHint | Qt::X11ByPassWindowsManagerHint) my window always stays on top which i want but the problem is that On Mac it is working fine but on Centos it becomes border less and no close minimize maximize button is shown
Thanks in advance

Related

set presets with gTile gnome shell extension

I'm trying out a 43Inch screen and I'm using the gnome shell extension gTile, and I can't figure out how to:
have a preset to bring all windows to center with predfined dimensions, i.e. 70%x50%
have a hotkey to bring the current window to center with same predefined dimensions
have a hotkey to set all windows in right or left column, i.e. devide the screen in half.
Any ideas how to go about it?
The built in decsription doesn't tell me much:
Thanks in advance!
is not implemented, 2. is a standard gTile functionality with preconfigured hotkey Super-Alt-5. 3. There is autotile in multiple columns, you need to autotile in 2 columns. Super-Enter to activate gTile, then 2 (means press 2).

Last screen seen on cursor position after moving to a new screen

I'm running Qt 5.5.1 on my embedded Linux machine. When a mouse is connected the cursor is visible and work as expected, but, when I'm pressing on a widget to move to another screen the new screen is presented with the old screen view inside a small square (mouse background at the time of the press). Example:
It seems like it's a rendering issue. Your help is most welcome.

Is it possible to write a user-friendly panel scrollable without scrollbar (as in Android File Manager) in CSS?

Recently, I checked Android's File Manager built-in app on tablet and I liked the idea very much. It has a panel at the top:
_______________________________________________________________________
| Panel (scrollable without any scrollbar), | Fixed part: app icons |
| contains your currently selected path | (it never moves) |
-------------------------------------------------------------------------
CONTENT
And when a path to the file exceeds available width, you can easily scroll that left part, the tricky part is that there must never be any scrollbar in there.
And what's the desired behavior with the mouse? Just imagine this is a mouse cursor, instead of a finger, the visible effect must be the same: smooth, natural scrolling. I think that would be the ideal way.
Is there any demo of this kind of panel written in browser-based languages (HTML, CSS, maybe Javascript)?

R tcltk, changing icon causes a dead window

Has anyone experienced this issue before? I created a little popup tklistbox and changed the default icon. However, after changing the icon the listbox sometimes pops up in a half-dead mode. See picture below (left one is the half-dead one, right one is the active one). I don't have this issue if I keep the default TK icon.
Thanks!
DD

console2 - how to make it fullscreen?

Is there any way to make console2 go fullscreen? I edit settings and increase window and buffer size but when I restart settings are reset to 63 rows in window size.
I've found that the maximise button is disabled, but you can get around it by setting Run option of the executable's shortcut to Maximised.
Better yet you can hide the window title bar in Console2's settings (Appearance > More... > Caption).
Here's the final result:
So, I've found this fork of Console2 which is amazingly better, it's called ConsoleZ:
https://github.com/cbucher/console/wiki/Downloads
Besides the maximization, it provides find in tabs, fullscreen mode and split tabs. Totally worth to check it out, IMHO.
EDIT
Forgot to mention, you can just download and replace the binaries, and all your configurations will be kept, as far as I've perceived.
[]'s
OK I managed to do it on win7 but still no luck on XP. This is how I did it.
In Settings→Behavior, check the Initial position checkbox and left the X and Y as default 0
Restart console
After restart, resize window dragging the borders to fill whole screen
Restart again
In Settings→Appearance→More uncheck Caption and Border
I don't know why just entering rows and columns doesn't work. One has to resize the window and restart.
On my screen with this font it is 62 rows (with space left for tabs on bottom) and 238 columns. I have 24" monitor. I set font to be Consolas size 11.
You can change the number of rows to change tab settings.
Click "Edit"->"Setting"->"Tabs" and click "Add" button. Then, the new entry which name is "Console" appears in the tab name list. In the main tab menu on the bottom, input these two parameters in the fields.
Title: Cygwin
Shell: C:\cygwin\bin\bash.exe --login -i
At last, move up the "Cygwin" entry to the top and restart console2. Now you can change the number of rows.
The detail how to configure tab settings is here.
https://openshift.redhat.com/community/blogs/upgrade-cygwin-to-console2-and-improve-the-productivity-of-openshifts-rhc-client-tools-on-wind
In order to make Console2 have the desired window size (even when opening a new tab which generally causes the entire app's window to resize to smaller), do the following:
View -> Console Window
In the console window that pops up, right-click its title bar and select Properties
Set the window width/height and buffer sizes as you like and click OK
Cheers
I founded a small program called, sizer 3.34, that configure the window size of every program window you have.
When installed, it apears at the popup menu, when you click with the secundary mouse button at the top bar of a window. It allows you to config the three size profiles it has, and to add one, or more, if you want.
I think is a good solution for this issue (and for another programms that would have the same problem).
Reggards.

Resources