[Solved] TC 8.0x64 cursor display problem on Ubuntu 12.04x64

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

[Solved] TC 8.0x64 cursor display problem on Ubuntu 12.04x64

Post by *karlchen »

Hello, folks.

Preface:
I know that Total Commander is a Windows software. Therefore display problems affecting Total Commander 8.0x x64 on Ubuntu 12.0x64 and Wine 1.4 x86_x64 will only be relevant to a small minority of T.C. users. Like in the previous 2 threads about T.C. 8 x64 on Ubuntu 12.04 x64 ([1] [2]), the source of trouble may be inside Wine, rather than inside T.C.


Prerequisites:
  • Ubuntu 12.04 x64 "Precise Pangolin", available updates installed
  • Wine 1.4 x86_x64 installed
  • Total Commander 8.0x x64 installed
How to reproduce:
  • Launch Total Commander 8.0x x64
  • Navigate to a folder having a small number of subfolders.
  • Select the 3rd sub-folder from the top. (Exact number irrelevant, but simply don't go too far down, or reproducing will be more difficult)
    The 3rd item below the [..] in the filelist has got the cursor.
  • Press Enter or double click to enter the sub-folder
  • Provided there are at list 3 items (plus [..]) in this subfolder, you will now be able to see the cursor display problem:
    • There is the correct and genuine cursor, it is on the [..].
    • There is a second ghost cursor on the 3rd item below [..].
    • Only if you move down the real cursor with the cursor keys down to the ghost cursor or further down, the ghost cursor will disappear and just the genuine cursor will be left.
  • If there are less items in the sub-folder than 3 in our example there will be no ghost cursor
This is just an irritating visual problem. It does not affect functionality.
This cursor display problem does not exist in the 32-bit editions of T.C. 8 when run on Ubuntu 12.04 x64, only the 64-bit editions are affected.

Example:
Starting folder Z:\usr:
[..] <DIR> 28.06.2012 23:59 ----
kbin <DIR> 28.06.2012 23:59 ----
games <DIR> 09.06.2012 18:58 ----
include <DIR> 09.06.2012 18:57 ---- <= selected, cursor here
lib <DIR> 28.06.2012 23:59 ----
lib32 <DIR> 09.06.2012 18:11 ----
local <DIR> 25.04.2012 18:30 ----
sbin <DIR> 28.06.2012 23:59 ----
share <DIR> 24.06.2012 20:02 ----
src <DIR> 28.06.2012 23:59 ----
Enter sub-folder include:
[..] <DIR> 25.04.2012 18:32 ---- <= genuine cursor
arpa <DIR> 25.04.2012 18:32 ----
asm-generic <DIR> 28.06.2012 23:59 ----
dbus-1.0 <DIR> 25.04.2012 18:31 ---- <= ghost cursor
drm <DIR> 28.06.2012 23:59 ----
gstreamer-0.10 <DIR> 25.04.2012 18:33 ----
linux <DIR> 28.06.2012 23:59 ----
(... rest of list omitted ...)
Kind regards,
Karl
Last edited by karlchen on 2012-07-14, 12:39 UTC, edited 1 time in total.
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50817
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, it means that Wine is sending TC incorrect draw messages (the listbox is owner drawn). TC has to rely on correct draw messages to draw the focus on the right line. It cannot guess out of nothing where the cursor is.
Author of Total Commander
https://www.ghisler.com
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, Christian.

Thank your for replying.
The interesting detail is that the issue affects the x64 editions of Total Commander only. Might imply that Wine support for 64-bit Windows executables is not perfect, yet.
By the way, T.C. 8.0x x64 does display the cursor in the correct position, only under certain conditions it displays the second (ghost) cursor where it was in the folder that you come from.
Anyway, once you know this may happen, it is no real problem.

Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

[solved] TC 8.0x64 cursor display problem on Ubuntu 12.04x64

Post by *karlchen »

As we learn in another thread, the visual glitch affecting T.C. 8.0(1) x64 on Ubuntu / Wine only has been worked around. :D

Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50817
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for checking! I hope that this change doesn't have any other side effects.
Author of Total Commander
https://www.ghisler.com
Post Reply