Aptana Studio
  1. Aptana Studio
  2. APSTUD-3558

Mark Ocurrences dialog show and hide itself in a infinite cycle.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Low Low
    • Resolution: Fixed
    • Affects Version/s: Aptana Studio 3.0.5
    • Fix Version/s: Aptana Studio 3.0.6
    • Component/s: php
    • Labels:

      Description

      I use the php editor and when switching 'Mark Occurances' On, dialog window with "Mark Occurances (Sleeping)" message continiously show and hide itself.

      In js editor everything is ok.

        Activity

        Hide
        Shalom Gibly added a comment -

        I tried recreating this, but with no success.
        Which OS are you using?
        Anything in the error log? (accessible through the Help menu)

        thanks!

        Show
        Shalom Gibly added a comment - I tried recreating this, but with no success. Which OS are you using? Anything in the error log? (accessible through the Help menu) thanks!
        Hide
        Vova Yatsyuk added a comment -

        Error logs was empty.

        I just tried to repeat it again, and with no luck too.

        Maybe it was fixed by recent update? I have updated Aptana this morning.

        I will try it at home later (had the same issue on my laptop) and let you know.

        Show
        Vova Yatsyuk added a comment - Error logs was empty. I just tried to repeat it again, and with no luck too. Maybe it was fixed by recent update? I have updated Aptana this morning. I will try it at home later (had the same issue on my laptop) and let you know.
        Hide
        Shalom Gibly added a comment -

        OK, thanks!

        Show
        Shalom Gibly added a comment - OK, thanks!
        Hide
        Ingo Muschenetz added a comment -

        I can't replicate either.

        Show
        Ingo Muschenetz added a comment - I can't replicate either.
        Hide
        Vova Yatsyuk added a comment -

        Hi. I found that the dialog shows, when some other work is active in Aptana background.

        Steps to reproduce:

        1. Project -> Clean -> All;
        2. Toggle mark occurances on;
        3. Click on several variables and keywords;
        4. On one of the variable, aptana begins to show and hide dialog in a cycle;
        5. When the background job is done, dialog stops the cycle;

        Show
        Vova Yatsyuk added a comment - Hi. I found that the dialog shows, when some other work is active in Aptana background. Steps to reproduce: 1. Project -> Clean -> All; 2. Toggle mark occurances on; 3. Click on several variables and keywords; 4. On one of the variable, aptana begins to show and hide dialog in a cycle; 5. When the background job is done, dialog stops the cycle;
        Hide
        Kristoffer Larsson added a comment -

        I can confirm this bug on Aptana 3.0.5 on Mac OSX. I like the Mark Occurences function but because of this bad behaviour I have to have it turned of because It goes crazy in big projects.

        Show
        Kristoffer Larsson added a comment - I can confirm this bug on Aptana 3.0.5 on Mac OSX. I like the Mark Occurences function but because of this bad behaviour I have to have it turned of because It goes crazy in big projects.
        Hide
        Ingo Muschenetz added a comment -

        I tried the following, and was unable to reproduce:

        1. Created a new PHP project
        2. Downloaded the CodeIgniter framework, and dropped it in that project
        3. Turned on Mark Occurrences
        4. Project > Clean > All (with build automatically turned on)
        5. Checked to make sure processing was happening in the background by looking at the Progress view
        6. Opened codeigniter/system/database/DB_driver.php (which has 1300 lines) and clicked around on any variable I could find.

        Nothing abnormal happened. What might I be doing wrong or missing?

        Show
        Ingo Muschenetz added a comment - I tried the following, and was unable to reproduce: Created a new PHP project Downloaded the CodeIgniter framework, and dropped it in that project Turned on Mark Occurrences Project > Clean > All (with build automatically turned on) Checked to make sure processing was happening in the background by looking at the Progress view Opened codeigniter/system/database/DB_driver.php (which has 1300 lines) and clicked around on any variable I could find. Nothing abnormal happened. What might I be doing wrong or missing?
        Hide
        Vova Yatsyuk added a comment -

        No you do it right. But in my case the dialog begins to show and hide in a cycle.

        This is weird but the dialog begind to cycle in every second word.

        Select some word - no issue
        Select another word - dialog begind to shows and hide
        Select third word - dialog hides
        Select the first selected word - dialog shows up again
        ....

        If I will alt-tab on the second word (when everything was ok) and then alt-tab again to return to Aptana - the dialog begins the show again.

        The dialog pops even when the word doesn't have the duplicates in document.

        Show
        Vova Yatsyuk added a comment - No you do it right. But in my case the dialog begins to show and hide in a cycle. This is weird but the dialog begind to cycle in every second word. Select some word - no issue Select another word - dialog begind to shows and hide Select third word - dialog hides Select the first selected word - dialog shows up again .... If I will alt-tab on the second word (when everything was ok) and then alt-tab again to return to Aptana - the dialog begins the show again. The dialog pops even when the word doesn't have the duplicates in document.
        Hide
        Matej Zilak added a comment -

        Hi

        I can confirm this bug. I use WIN7 and Aptana Studio 3, build: 3.0.5.201109300958

        I use PHP editor, and currently have 3 large projects in Symfony2 framework opened. This bug only happens, when there is something being done in the background (scanning projects, registering php modules, etc.) - so quite usually now.

        I'm not sure if this has something to do with the bug, but in my log file there are some exceptions like this one: http://pastebin.com/g4u2tVmw In various files in my projects.

        Show
        Matej Zilak added a comment - Hi I can confirm this bug. I use WIN7 and Aptana Studio 3, build: 3.0.5.201109300958 I use PHP editor, and currently have 3 large projects in Symfony2 framework opened. This bug only happens, when there is something being done in the background (scanning projects, registering php modules, etc.) - so quite usually now. I'm not sure if this has something to do with the bug, but in my log file there are some exceptions like this one: http://pastebin.com/g4u2tVmw In various files in my projects.
        Hide
        Ingo Muschenetz added a comment - - edited

        Can someone post a screencast of the bug just to make sure we're all familiar with what it looks like? I just tried creating 3 new PHP projects in my workspace (OS X), copied the altest download of Symphony2 into each of them, did a Project > Clean All, and then opened .php files clicking around on variables. No luck reproducing the behavior.

        Show
        Ingo Muschenetz added a comment - - edited Can someone post a screencast of the bug just to make sure we're all familiar with what it looks like? I just tried creating 3 new PHP projects in my workspace (OS X), copied the altest download of Symphony2 into each of them, did a Project > Clean All, and then opened .php files clicking around on variables. No luck reproducing the behavior.
        Show
        Vova Yatsyuk added a comment - http://www.youtube.com/watch?v=GBPcNU4xDYM
        Hide
        Ingo Muschenetz added a comment -

        Great, thanks.

        Show
        Ingo Muschenetz added a comment - Great, thanks.
        Hide
        Shalom Gibly added a comment -

        Recreated. Will work on a fix asap.

        Show
        Shalom Gibly added a comment - Recreated. Will work on a fix asap.
        Hide
        Shalom Gibly added a comment -

        Fixed for 3.0.7

        Show
        Shalom Gibly added a comment - Fixed for 3.0.7
        Hide
        Shalom Gibly added a comment -

        Apply the fix on 3.0.6

        Show
        Shalom Gibly added a comment - Apply the fix on 3.0.6
        Hide
        Clayton Headley (Inactive) added a comment -

        Verifed using suggested steps in Windows 7, Mac OS 10.7.3, and Ubuntu 11.10 with build: 3.2.0.201203301514. Closing ticket.

        Show
        Clayton Headley (Inactive) added a comment - Verifed using suggested steps in Windows 7, Mac OS 10.7.3, and Ubuntu 11.10 with build: 3.2.0.201203301514. Closing ticket.

          People

          • Assignee:
            Shalom Gibly
            Reporter:
            Vova Yatsyuk
          • Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development