I'm building the UI for an application using Qt and QML for Ubuntu Linux. I have a viewer window with a canvas element which is supposed to be fullscreen by default. On opening the application this works fine (i.e. Ubuntu sidebar and top taskbar are hidden). However, once I minimize my application and then maximize it again by using viewer->setFullScreen();, the Ubuntu sidebar and top taskbar are still visible and there is an offset while writing on the canvas due to the same.
Any help would be appreciated.
Application viewer setfullscreen function not hiding ubuntu sidebar
1.2k Views Asked by zeerak At
1
There are 1 best solutions below
Related Questions in QT
- qt c++ fonction converting adress to coordinates (longitude, latitude)
- Qml table and chart using python
- Qt: running callback in the main thread from the worker thread
- i have installed qt version 6.0.3 and this error QMYSQL driver not loaded displaying again and again
- Frameless Qt + WinAPI maximized window size is bigger than the availableGeometry()
- new window with c++ qt
- How to get scaling from transformation matrix
- How to build just Qt core libraries from Qt sources
- doxyqml not documenting qml files properly
- Incorrect assignment from a QStringList to a char * array
- How to make QT Chart size larger than widget size?
- Queued async operations with QtConcurrent interfere QImage from freed
- Questions about qt5 dynamic link library
- how to document QML files inside C++ project?
- How do I keep my screen contents centered and also have a scrollbar in QT?
Related Questions in UBUNTU
- Error: local variable 'bramka' referenced before assignment
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Can't connect to local postgresql server from my docker container
- How to install libfuse2 on Ubuntu 22.04
- Error when trying to execute a binary compiled in a Kali Linux machine on an Ubuntu system
- Can anyoone help me with this problem while trying to install hadoop on ubuntu?
- Ubuntu wsl2 in windows, my /etc/fonts/fonts.conf keeps reloading
- psutil.sensors.temperatures() only delivers {}
- Issue with [proxy_fcgi:error] [pid 1539011] (70007)The timeout specified has expired
- Viber is not working on Ubuntu 22.04 Jammy
- why is ubuntu 18.4 still showing as a linux subsystem when i have uninstalled it?
- Why when I want to open a folder from Visual Studio Code does the screen go crazy?
- What is this error when trying to update Ubuntu?
- Angular on IONOS(?) throws an error with npm
- Tensorflow can't find TensoRT
Related Questions in QML
- Qml table and chart using python
- doxyqml not documenting qml files properly
- how to document QML files inside C++ project?
- Combining Dependent DLL Files with Executable using windeployqt
- How to resolve this loop call caused by property changed in qml, can I stop binding somewhere?
- Object.keys, Object.values and JSON.stringify give empty results in QML
- Qt Quick QML Unit Test linkage module not found/custom component 'not a type' error with createTemporaryQmlObject
- QML WebEngineView doesn't play YouTube video if the video hasn't 480p quality
- SplitView elements both in horizontally and vertically in qml
- Run QML in Beaglebone Black
- Splitview inside a Layout in QML is not working properly
- Qt and Unity Texture Sharing
- Why are my Buttons overlapping in QML ColumnLayout?
- SplitView in Rows in QML
- Color change in Line series chartview in qml
Related Questions in FULLSCREEN
- In fedora Linux, Waydroid opens in fullscreen mode, but in gnome the top panel is not hidden
- How can I make 'emacsclient' open in native fullscreen every time I launch it from the terminal in macOS?
- Custom Controls Not Working in Fullscreen Mode for React Native Video Player
- Does auto full screen function work on mouse hower?
- Scroll to slide in full page
- how to force landscape mode when iframe video in fullscreen
- Set Raspberry Pi Qt application to full screen mode
- python check if a window/app is in full screen in a multi-monitor setup
- Unable to Maintain Fullscreen Mode Across Page Changes or Refreshes
- Keep activity in immersive mode
- visionOS WKWebView FullScreen bug
- flutter full screen using SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky); not working correctly
- How to disable full screen on F in keyboard in ReactPlayer?
- Uno Platform - How to create a full screen Windows Desktop application
- In ReactJS, how to request/exit FullScreen while also handling the FullScreen events to update the UI?
Related Questions in UBUNTU-UNITY
- Gnome software can't uninstall any software: no packages to remove
- Unity C# Error: 'Sprite' does not contain a constructor that takes 0 arguments
- Force QFileDialog::DontUseNativeDialog globally in a QT program
- Always fullscreen on second monitor using OpenGL on Ubuntu 14.04
- Ubuntu unity cannot work, reinstall didn't fix
- Android emulator window stays on top after Alt+Tab
- Application viewer setfullscreen function not hiding ubuntu sidebar
- numix theme not working on ubuntu 15.10
- How to create a task bar icon with wxPHP in Ubuntu/Unity?
- How to create gtk menu item with shortcut displayed?
- Ubuntu 15.04. Error pops up
- How do I use the default ubuntu unity 14.04 login screen after installing xfce alongside?
- Is it possible to control window shadows individually?
- Getting Ubuntu 14.10 Unity Launcher to launch Android-Studio
- using FreeRDP disk redirection
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
According to this topic on askubuntu, your problem do really looks like Unity bug (or feature). But, according to somehow related bug on Launchpad, it seems that you can get desired behavior by:
In Qt you can set
Qt::WindowStaysOnTopHintto your window/widget viaQWidget::windowFlags.Pay additional attention to notes in official documentation:
setParent()when changing the flags for a window, causing the widget to be hidden. You must callshow()to make the widget visible again.Qt::WindowStaysOnTopHint-- Informs the window system that the window should stay on top of all other windows. Note that on some window managers on X11 you also have to passQt::X11BypassWindowManagerHintfor this flag to work correctly.Hope this helps.