QtCreator and multiple monitors



  • It would be useful to add multiple monitors support in to the QtCreator. For example, user can open some of *.cpp and *.h files on the second monitor.



  • Cant you just open another instance of QtCreator if you were working on different files anyway?

    I know I do this when working on separate but dependant projects.



  • But it's not comfortable. It would be better to have one IDE on the separate monitors.



  • Documentation in one screen, and the code or the designer in the other screen... It would be awesome.



  • jorjpimm, yeah opening two instances can help, but not when you are working on one project with these two files. From my point it will be great to be able to open different views (doc and code, debug and console and so on) at different monitors or moving debug pane to another monitor.



  • I also use two monitors. The bigger screen I use for Qt Creator and in the other screen I open the documentation in some browser.

    But I agree: it would be good to have Qt Creator windows in two (or more!) screens.



  • Yes, it would be useful, especially when trying to split the debugging view from the code, a lot like in Visual Studio where you can drag all the palettes around as you like.



  • Eclipse also does a very good job when working with multiple monitors. I would be grat to have it in Qt Creator too.



  • It seems there is some agreement that it would be nice to have. Can someone file a wishlist bug in JIRA? That would be neat! :)



  • Does that mean I have to buy a second monitor? :D Actually that would be a good excuse to buy a second one!


  • Moderators

    Alexandra: We do have wishlist bugs for multi monitor support. E.g. "QTCREATORBUG-45":http://bugreports.qt.nokia.com/browse/QTCREATORBUG-45

    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 author="Utku" date="1274805272"]Documentation in one screen, and the code or the designer in the other screen... It would be awesome.[/quote]

    I do that all the time, by simply having one instance of QtCreator and one instance of QtAssistant open; each one on their own screen. Works nicely for me!



  • [quote author="Tobias Hunger" date="1277302790"]Alexandra: We do have wishlist bugs for multi monitor support. E.g. "QTCREATORBUG-45":http://bugreports.qt.nokia.com/browse/QTCREATORBUG-45

    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]

    Cool. At least it will not just be forgotten. :)



  • bq. I do that all the time, by simply having one instance of QtCreator and one instance of QtAssistant open; each one on their own screen. Works nicely for me!

    I also do that. But, it will be useful to have possibility to show context help (F1) from cpp file in the Creatosr to the Assistant on second screen or detach cpp file and move it to the second screen. It's useful to have one *.h file on the first screen and *.cpp file on the second screen.



  • I don't know if everybody is aware of this: since it is already filed as a wishlist bug in our bugtracker you can vote for it! It's of course not a guarantee for a coming implementation but it increases the chances if there are many people voting for a bug.



  • Because I read someone mentioning debugging windows, that is actually one of the few things that should work wrt multiple monitors:
    In Debug Mode uncheck Window->Views->Locked, you can then drag the debugger views around, and also float them. When you've decided about your favorite layout, just re-check Locked to get rid of the visual clutter again (floating states etc will be preserved).



  • Eike, yeah you're right. But it will be awesome to have complete debug panel detaching (with start/stop/step buttons).



  • You could always have the separate panels render as separate windows, and separate processes, using a hub process for communication between them.

    now if i could get Gnome to like dragging windows to a separate X desktop..... it lets me move the mouse just fine, but it hates dragging windows... I can't just set it up as a dual view, because my graphics card doesn't like me, dual CRT's it really doesn't like, it says it's too much work :D. It's already forced me to make wine emulate a virtual desktop, just to be able to see everything. At this point I wish it Couldn't render monitors at 320 by 175 pixels, as that's what it keeps wanting to do....



  • what I noticed for multiple monitors is, that if you close creator in maximized mode, and start it again after, it is maximized on your primary screen, not on the screen where you closed it. Im working on Windows7 64bit. Is it a bug or are there any reasons for that?



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.