[Bug 38626] New: Word 2007 image mode wrapping menu hides after a few seconds
https://bugs.winehq.org/show_bug.cgi?id=38626 Bug ID: 38626 Summary: Word 2007 image mode wrapping menu hides after a few seconds Product: Wine Version: 1.7.42 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: computergeoffrey(a)zoho.com Distribution: --- Reproduce: 1) Insert an image in a any Word document 2) Right click the image 3) Try changing the line/text wrap of the image to an item from the submenu 4) If you hover over an item in the submenu, it disappears. This should not happen before a click. If you navigate away (to another, native Linux window) before opening the submenu, the context menu stays and you can open the submenu in the native application (LOL!). That gives you more time. A better workaround is to use the lint: Markup -> Text Wrapping icon and then choose from the list. What's causing this strange behaviour? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 Geoffrey De Belie <computergeoffrey(a)zoho.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Word 2007 image mode |Word 2007 image text mode |wrapping menu hides after a |wrapping menu hides after a |few seconds |few seconds -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 Geoffrey De Belie <computergeoffrey(a)zoho.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Word 2007 image text mode |Word 2010 image text mode |wrapping menu hides after a |wrapping menu hides after a |few seconds |few seconds -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 Rosanne DiMesio <dimesio(a)earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Severity|normal |minor --- Comment #1 from Rosanne DiMesio <dimesio(a)earthlink.net> --- Confirming and setting severity to minor, as there's an easy workaround. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 Ali <a.shahbazi91(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |a.shahbazi91(a)gmail.com --- Comment #2 from Ali <a.shahbazi91(a)gmail.com> --- It also affects the paste preview on right click. This makes this bug really annoying.(Every time you want to paste something in word processor by right clicking and choosing the paste option you encounter it!-You are unable to paste using right click menu and use it's options i.e. Keep source formatting, Merge formatting, Keep Text Only) BTW, I have the same question as Geoffrey. What's causing this behaviour?(May be overriding some builtin dlls fix it.) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 Ali <a.shahbazi91(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bunglehead(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 --- Comment #3 from Ali <a.shahbazi91(a)gmail.com> --- Here's the relevant part of debug log(started just before the issue occurs) if anyone wishes to take a look: http://www.share-online.biz/dl/E4418C6O5T9 (output of WINEDEBUG=+relay,+timestamp wine WINWORD.EXE) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 Ronny Standtke <Ronny.Standtke(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Ronny.Standtke(a)gmx.net --- Comment #4 from Ronny Standtke <Ronny.Standtke(a)gmx.net> --- I can confirm the bug with wine 1.8.3. It also happens when right-clicking to select bullet point styling etc. Here is a short youtube video demonstrating the bug: https://www.youtube.com/watch?v=oNY8F2zmr8M -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|bunglehead(a)gmail.com | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 Andrew Eikum <aeikum(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum(a)codeweavers.com --- Comment #5 from Andrew Eikum <aeikum(a)codeweavers.com> --- Office creates the right-click menu without the WS_EX_LAYERED style, but then adds this style later when it needs to be made transparent. With the X11 driver, the X11 window is destroyed and recreated when UpdateLayeredWindow() is called in order to change the visual (set_window_visual). Since the topmost window is destroyed, the window manager sends a focus change notification. This notification works its way up to the Office menu message handler, which destroys the menu because it no longer has focus. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 --- Comment #6 from Andrew Eikum <aeikum(a)codeweavers.com> --- Created attachment 56961 --> https://bugs.winehq.org/attachment.cgi?id=56961 Ignore focus changes while switching layered window visuals Here's a patch that sort-of fixes this. The menus no longer disappear, so it is now usable, but also the main menu doesn't redraw correctly when you move the cursor off of the paste buttons or out of the word wrap submenu. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 Andrew Eikum <aeikum(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #56961|0 |1 is obsolete| | --- Comment #7 from Andrew Eikum <aeikum(a)codeweavers.com> --- Created attachment 57014 --> https://bugs.winehq.org/attachment.cgi?id=57014 Hacks to winex11 Here's a patch which nearly fixes this, though we lose the transparency on the right-click menu because I hacked out the change to its window's visual. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 --- Comment #8 from Andrew Eikum <aeikum(a)codeweavers.com> --- Created attachment 57037 --> https://bugs.winehq.org/attachment.cgi?id=57037 Patches to fix Here's a tarball of four patches that fix this for me. The windows flash a bit, which isn't ideal, and the patches also need tests. The 4th patch in particular isn't great. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 Andrew Eikum <aeikum(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #57014|0 |1 is obsolete| | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 steveglowplunk(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |steveglowplunk(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 Grové <grove.steyn(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grove.steyn(a)gmail.com --- Comment #9 from Grové <grove.steyn(a)gmail.com> --- This right click problem is much wider than described here. I encounter it in Word, Excel and Powerpoint. It is a substantial obstacle to any serious MS Office user, and one of the only real remaining problems with Office 2010 on Wine / Crossover. Please consider raising its "Importance" and consider making use of the patches submitted by Andrew. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 --- Comment #10 from Grové <grove.steyn(a)gmail.com> --- Also, the work around suggested by Geoffrey is often (mostly) not available or does not work, leaving the user with no practical alternative. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 --- Comment #11 from Alexandre Julliard <julliard(a)winehq.org> --- When using an ARGB visual, the window doesn't need to be destroyed and recreated, so it works much better. With current Wine an ARGB visual can be selected by setting "ScreenDepth"="32" under HKCU\Software\Wine\X11 Driver. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 --- Comment #12 from Ali <a.shahbazi91(a)gmail.com> --- (In reply to Alexandre Julliard from comment #11)
When using an ARGB visual, the window doesn't need to be destroyed and recreated, so it works much better. With current Wine an ARGB visual can be selected by setting "ScreenDepth"="32" under HKCU\Software\Wine\X11 Driver.
Setting the key as provided by you makes the app unusable. In this case nothing(including the text preview) is readable. A screenshot is attached. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 --- Comment #13 from Ali <a.shahbazi91(a)gmail.com> --- Created attachment 60385 --> https://bugs.winehq.org/attachment.cgi?id=60385 ScreenDepth=32 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 --- Comment #14 from Ali <a.shahbazi91(a)gmail.com> --- (In reply to Alexandre Julliard from comment #11)
When using an ARGB visual, the window doesn't need to be destroyed and recreated, so it works much better. With current Wine an ARGB visual can be selected by setting "ScreenDepth"="32" under HKCU\Software\Wine\X11 Driver.
BTW, the issue's still present for the first one or two tries. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 --- Comment #15 from Alexandre Julliard <julliard(a)winehq.org> --- You need current Wine git for the ScreenDepth=32 thing to work correctly. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 --- Comment #16 from Ronny Standtke <Ronny.Standtke(a)gmx.net> --- Created attachment 60586 --> https://bugs.winehq.org/attachment.cgi?id=60586 screenshot showing the disappearing upper level menus I tested with a backported Wine 3.2 in Debian 9. The good news is that the submenu no longer disappears. The bad news is that the upper level menus now disappear and become grey boxes (see attached screenshot). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 --- Comment #17 from Nikolay Sivov <bunglehead(a)gmail.com> --- (In reply to Ronny Standtke from comment #16)
Created attachment 60586 [details] screenshot showing the disappearing upper level menus
I tested with a backported Wine 3.2 in Debian 9. The good news is that the submenu no longer disappears. The bad news is that the upper level menus now disappear and become grey boxes (see attached screenshot).
Hi, Ronny. Did you try the same on Windows? I think that's how it's supposed to work. When you select different style in popup menu, main popup is dimmed so it's not obscuring your document area and you can see your new selected style temporarily applied to your text. Boxes should be of some level of transparency though, not solid grey. From your screenshot it seems to be working correctly, try to add more text so main popup could cover some. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 --- Comment #18 from Ronny Standtke <Ronny.Standtke(a)gmx.net> --- Hi Nicolay Thanks for the info. Indeed, when trying with longer texts one can see that the upper level menus becomes transparent. So, all in all the bug seems to be (more or less) fixed. Too bad that it still doesn't work out-of-the-box but needs some fiddling with regedit. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #19 from Alexandre Julliard <julliard(a)winehq.org> --- Marking fixed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38626 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #20 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.4. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org