Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtCreator hangs due to overly-broad file monitoring. Even when "disabled."
Forum Updated to NodeBB v4.3 + New Features

QtCreator hangs due to overly-broad file monitoring. Even when "disabled."

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aleeper
    wrote on last edited by
    #1

    I love using Qt Creator but I've identified what may be a fatal flaw.

    At work my home directory is an nfs mount using autofs. That is, rather than having my home directory locally on the computer, my home is a symlink:

    /u/aleeper -> /wg/stor2a/aleeper

    where /u -> /wg/u is a directory that contains symlinks for all other users home directories.

    The problem is that some people in the company change their symlink on /u to point NOT to the servers, but to their own machine. When one of these machines is down/off for whatever reason, this breaks those symlinks.

    This causes a MAJOR problem for QtCreator, because of what I believe is a faulty or overly-broad file-monitoring strategy. I have been able to reliably tell when a symlink is broken because QtCreator will hang for 30-60 seconds every time I try to do anything involving a file, such as switch to a different file in a project, presumably because it is waiting for the directory crawl to timeout. This renders the program completely unusable.

    This seems to imply that the file monitoring (or some other process) that Qt does is overly broad. It is searching not just my home directory, but also the parent of my home, which is the folder containing all those symlinks. I would love to be able to disable this behavior.

    I tried disabling the file monitoring by setting Tools->Options->Environment->General->"When files are externally modified" to "Ignore Modifications"," but this does not help. Either the file monitoring is happening anyway but being ignored, or there is another process in Qt that does this directory crawling.

    Any help? Is this a known bug? Or a "feature"? I tried switching to Eclipse but I don't like it. :p

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jim_kaiser
      wrote on last edited by
      #2

      Ya.. I don't like Eclipse much either ;) ... and your problem sounds fresh and interesting! Never worked in such a setup.. You're best off reporting a bug leaving this to the professionals.. I cannot find a related bug with a normal search.. "Bug Portal":http://bugreports.qt.nokia.com/

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved