Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QtCreator and multiple monitors



  • wait, why aren't you using it on your main monitor and using the secondary one for reference? I have a dual monitor setup so i do at least know what your talking about, although i am using Ubuntu linux, and have the second monitor configured as a seperate X session, so the windows don't really drag, but oh well (i can't get my 512mb nvidia graphics card to like linux, and i don't want to buy windows, so i'm working with it as i am able, hopefully i can manage to get it to support a decent resolution on both monitors (their both CRT monitors at 1024 by 768 pixels, i would prefer they be at 1280 by 1024, but the graphics card doesn't seem to like that idea)



  • because of the position of the screens, i want to have on my left screen, the documentation on my right.
    Also my taskbar shall be on the right aswell as some other applications (Browser, outlook etc.). so it makes more sence to me that the right one is the primary monitor, since on the left is only creator.



  • I use last QtCreator from "http://qt.gitorious.org/qt-creator/qt-creator":http://qt.gitorious.org/qt-creator/qt-creator and it's really comfortable to have documentation in the separate window on the second screen. Thanks:)

    [marked up link, Tobias Hunger]



  • [quote author="Tobias Hunger" date="1277302790"]Unfortunately we have not yet come up with a good way to do it. Suggestions are always welcome! Of course demos and merge requests are even more welcome:-)[/quote]

    Hmm... ==sigh== if only I could create an extra ten or twelve hours a day, or not need to sleep or something, this would all be so much easier :)



  • [quote author="GordonSchumacher" date="1291820857"]Hmm... ==sigh== if only I could create an extra ten or twelve hours a day, or not need to sleep or something, this would all be so much easier :)[/quote]

    Here is a book I enjoyed about a future where some people don't need sleep: "Beggars in Spain by Nancy Kress":http://www.amazon.com/Beggars-Spain-Nancy-Kress/dp/0060733489



  • BTW, in an old post (august) it was mentioned that the master branch of Qt Creator could detach the Help window, but I don't know if any stable branch contains the feature. I'm using Creator 2.1 RC, and I can't find the feature. Is slated for 2.2 then?



  • OMG, never mind, I found it (it's very hidden!). I thought I could attach and dettach it at will (like the split view, because I don't always have my second monitor on), but it's a setting that you have "fixed".



  • For others who may be wondering the option is Tools/Options/Help/General Settings/Startup/On context help:/Always Show Help in External Window



  • Just to make sure this issue isn't forgotten. Support for dual-head currently is restricted to QtAssistant on second monitor and for debugging at least the stack trace and variable watch.
    Why not let us split off editors (maybe with own hierarchy/file/project sidebar), too?

    Another issue at least on linux: The undocked windows don't have proper frames, they're just kind of flying white boxes which don't properly interact with the window manager like e.g. QMainWindows. Further, and this is most annoying, column widths are obviously not saved. So I have my right screen filled with stack trace and variable watch, yet, when I restart QtCreator, the columns are smashed to the left border where little to nothing is readable (except in the last column, that's stretched over 80% of the screen – great). So I have to resize them every time. Isn't restoring column layout kind of standard in this century ;)?

    //EDIT: Oh yes, and I love QtCreator. The add to implementation refactoring is very handy to now also have in QtCreator.



  • One interesting think with tow dual display is: when split in two...one spleet to be on second display.
    Offen I use two big classes in two big files...and I need offen switching between files.



  • I'm unsure if that helps, but i do the following to my Qt Creator if i wish to use 2 displays to edit single project:
    "split side by side":http://img442.imageshack.us/img442/4005/twodisplay.jpg
    As for documentation, I'd suggested openning the second instance of creator.



  • You can already undock the documentation in a separate window in Qt Creator. No need to have a second instance.



  • [quote author="RaubTieR" date="1333972955"]I'm unsure if that helps, but i do the following to my Qt Creator if i wish to use 2 displays to edit single project:
    "split side by side":http://img442.imageshack.us/img442/4005/twodisplay.jpg[/quote]

    I've had that idea, too. Unfortunately, it gets messed up completely when restarting QtCreator. It opens the window on the right monitor, stretching into nirvana to the right.

    I still can't believe making this possible should be such a big issue for someone who's familiar with QtCreator code, especially because all the mechanisms for synchronizing and maintaining multiple editors on one file are already in place (see Ctrl+E,3)! All that needs to be done is have such an editor not in a splitter-ish layout but in a new QMainWindow... nothing fancy.



  • ya qt creater is also supporting multiple windows...
    we can do it....QT menu windows->split side by side
    may be it will help



  • [quote author="DerManu" date="1333988284"][quote author="RaubTieR" date="1333972955"]I'm unsure if that helps, but i do the following to my Qt Creator if i wish to use 2 displays to edit single project:
    "split side by side":http://img442.imageshack.us/img442/4005/twodisplay.jpg[/quote]

    I've had that idea, too. Unfortunately, it gets messed up completely when restarting QtCreator. It opens the window on the right monitor, stretching into nirvana to the right.

    I still can't believe making this possible should be such a big issue for someone who's familiar with QtCreator code.[/quote]
    The other problem with the splitter approach is that it doesn't allow you to rearrange the "windows" independently. As I often have four or five windows open at a time, not being able to layer them over each other and move them around at will is a big drawback. I do like the xCode approach though - it has one main window, which can be split similarly to QtCreator, but if you double click on a file rather than single-clicking (which would be another nice thing to get in creator - the ability to load files with a single click) it opens a new window for that file.



  • Why stop at two monitors?
    Most of developers have at least two monitors.

    If someone adds multi-monitor support please don't limit it to two monitors.



  • It surprises me that for such a well-done modern IDE QtCreator still doesn't support multiple monitors. Currently you can have detached help - but that's not enough. I'd like to be able to tear out the editors in separate windows and rearrange them any way I want. Both Eclipse and VS support this in some manner - but I don't want to use Eclipse or VS! I just checked the (very old) open issue on this https://bugreports.qt-project.org/browse/QTCREATORBUG-640 - feel free to vote it up.



  • @bmanc it's seems that will not have very soon full multiple monitor suport.
    One of the problem is when you have to edit 2-3-4 files at the same time. The split is not a good ideea (in my case I have a laptop with a display of 1366x768 and one external monitor with a resolution of 1280x1024).
    I think that is much simpler to make edit windows external. Opening a new qtcreator session have too many inconvenients...



  • @bolovan I'm not sure what you meant, so I'm just clarifying.

    Both support Eclipse and VS support tearing the edit windows out to make them external. Well... with eclipse you have to tell it to open another "parent" window and drop the edit window into that, but it gives you the same effect.

    Nobody wants another QtCreator session - it doesn't even work anyway since the same project can't be open in two sessions.



  • I too code using multi-display.
    i will lookup 'bug' and vote for 'wishlist'.
    Спасибо.



  • Just do multiple monitor logic like in Visual Studio. Then you double click on source that already opened just select for active window there source already openned. And look in Visual Studio each new window can contain several openned sources.

    BTW Why Devs so hate tabbed interface that have such a great IDE's like: Eclipse, IntelliJ IDEA, Visual Studio? Why you create bicycle with square wheels?

    BTW 2 Later then i be at home i'll try to show by screenshots what i mean.


  • Moderators

    Multi-window support was introduced a few months ago: http://blog.qt.digia.com/blog/2013/07/11/qt-creator-2-8-0-released/



  • Moving the different debugger views around works beautifully but I can't for the life of me figure out how to move or detach the bottom panel that displays Application or Compiler output? How come they are handled differently?

    The Help window seems locked in the same way, although here I found there's a special option you can enable in the Options dialog to detach it. I failed to find such an option for the lower pane.

    Compiler/Application output is something that's usually important enough for me to have visible all the time, but I hate it having to eat up vertical space from my code editor window, when I have three monitors worth of screen space to lay everything out across.



  • Likewise, there seems to be no way to view two of the lower output panes side by side, you can only ever see one at a time?



  • I hope QtCreator can open files with multiple windows!



  • @biij5698 Go to menu "Window" and select "Open in new Window". Then you can use multiple windows and multiple monitors.



  • I cannot believe it. We have middle of 2020 and Qt Creator is still with its design stuck in 1990 with absolutely no inclination to provide fully fledged multi-monitor support.
    Compared the quality of life when working with Visual Studio Qt Creator simply depresses me.


Log in to reply