Issue 81928 - Contextmenu-problem when Search-Toolbar is active.
Summary: Contextmenu-problem when Search-Toolbar is active.
Status: CLOSED OBSOLETE
Alias: None
Product: QA
Classification: Unclassified
Component: testscripts (show other issues)
Version: current
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: gregor.hartmann
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-25 10:44 UTC by marc.neumann
Modified: 2017-05-20 09:19 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description marc.neumann 2007-09-25 10:44:47 UTC
f.e.:

"wrong words are not underlined? Should be: 11011001011"
"Is:                                        10111110110"
"Differences:                               01100111101"
"Wrong after merging errors from bugs       00100110100"

"wrong words are not underlined? Should be: 00010000000"
"Is:                                        11111111111"
"Differences:                               11101111111"
"Wrong after merging errors from bugs       11101111111"
Comment 1 fredrik.haegg 2007-09-25 12:16:28 UTC
Issue only occurs when the Sun-Searchbar is active. 
Comment 2 fredrik.haegg 2007-10-09 10:41:49 UTC
GH: When the SunSearch-toolbar is active, opening the contextmenu fails. 
       Don't know why, or if this is something for you or the developer behind 
       the toolbar, but I hope you can tell me the cause for the not opening 
       contextmenu. 
Comment 3 fredrik.haegg 2007-10-11 16:35:47 UTC
Path to the test:   /graphics/level1/g_spellcheck.bas

Testcase:  tToolsSpellcheckAutoSpellcheck 

Comment 4 gregor.hartmann 2007-10-17 08:00:47 UTC
Hallo? willst Du mich verar....?

the warnlogs are in the basic script. Don't know what they are good for.
g_spellcheck.inc
Comment 5 fredrik.haegg 2007-10-23 11:58:45 UTC
This is NOT about the errors, but WHY they occur. Because this testcase has run
error-free for years. 
And now, when activating the search-toolbar, and ONLY when it's activated -
produces errors. 

I have seen that the contextmenu sometimes doesn't appear, but I can't see why. 
Comment 6 fredrik.haegg 2007-10-23 13:06:17 UTC
Changing Summary and target.
Comment 7 gregor.hartmann 2007-10-25 06:37:23 UTC
I didn't write the test and have no idea what the output is for.
Who wrote the test?

the function  sAnalyzeContextMenu fails
there are tests for the first menuitem to be 10456 which is default. if google toolbar is actibe the first 
menuentry is the searchbar (ID 1000) 

unluckily the ID 1000 is also used for the first spellcheck suggestion (if there are any) so other parts of 
the sAnalyzeContextMenu which rely on that will also have to get rewritten

Please assign to responsible engeneer
Comment 8 fredrik.haegg 2007-10-30 18:28:08 UTC
The test doesn't get that far. It tries to open the context menu, 
then it does a count of the items, and that count fails 
- because there is no contextmenu available. 

At least that's what both my breakpoints and the log tells me. 
Outcomment the part about ID 1000 and see for your self, where the test stops. 
Comment 9 fredrik.haegg 2007-11-06 14:41:12 UTC
You mean this part: 
               "if (iSlot <> 10456) then
                    if (not bDifferent) then  ' WorkAround ##
    '                qaerrorlog "" + iSlot + " UNDERLINED"
                        iTemp = iTemp + (2^i)
                    end if
                    call hMenuClose()
                else"

which is 100% ok. If the first menuitem _isn't_ a spellchecking-word - the
contextmenu _should_ be closed, so we can move on to the next word. 
Then the function ends, the contextmenu is supposed to be opened again, and the
function is called again. 
But when the menu at that point contains the Search-entry, the menu either isn't
opened at all, 
or is closed faster than I can see with my eyes. 

Comment 10 gregor.hartmann 2007-12-21 10:56:19 UTC
3.0
Comment 11 b.osi.ooo 2008-06-30 10:59:37 UTC
target dev tools!
Comment 12 Marcus 2017-05-20 09:18:41 UTC
obsolete