Trigger/Alias Column issues

Posted by Maxhrk on Wed 30 Jan 2008 07:36 PM — 17 posts, 75,171 views.

USA #0
My problem under wine is... You know where columns under trigger and alias dialogs.... like 'trigger', 'seg', etc... i try to move Label or Group to the front of all other columns but it wont work that way under Wine i think. How to get this fixed so i can see Group or Label columns front of all other columns?


Thanks.

~maxhrk~
USA #1
This has been an issue with Wine itself, not MUSHclient. I personally just scroll around instead of trying to force it. For the life of me, I cannot remember if I listed that as a bug through Bugzilla or not... I should check.
USA #2
i am aware that this is wine issue. so that why i am asking how to fix that. :)

thanks.
USA #3
Or is there a indirect way to alter the order of column... like registry or something else to change that?
Australia Forum Administrator #4
If you use Regedit (which works under Wine) and look here:



HKEY_CURRENT_USER\Software\Gammon Software Solutions\MUSHclient\World Configuration


You will see various entries like this "alias list Col 0 Order". The default is the value for that to be zero.

Now if you swap the first two columns then:


alias list Col 0 Order = 1
alias list Col 1 Order = 0


By juggling those around you can get the columns to appear in any order. I would do that with MUSHclient closed, I think.
USA #5
at least i did tried this and it didn't work. hmm. When i did regeditted it and close it then try it on mushclient. It look same. so i closed it and running regedit again. It show the orders has returned to the original value unforunately.
Amended on Wed 30 Jan 2008 08:33 PM by Maxhrk
USA #6
And that's the issue Wine has with this. It causes the order to stay as the default value. There is no workaround as far as I can tell. If I remember right, it was not even possible to resize these windows until wine-0.9.27 or so. I should have specified that there is no known workaround as far as I know in my original post.
Australia Forum Administrator #7
I think reconfiguring the column order is a function call that appeared relatively recently in Windows. It is possible that this function is not implemented in Wine. Thus using regedit merely (as it turns out) is another way of hitting the same roadblock.

I thought your problem might have been that dragging the column headers didn't work, but if changing the registry also doesn't work then it is a different problem.
USA #8
That functionality is not considered a "high priority" by the Wine dev team. Not being able to rearrange the order of labels does not prevent people from being able to use the software. Out of curiousity, where do the labels come from? Still part of MFC? If so, I might go insane one day and try to track down the problem in Wine myself (or at least thrust it upon friends better equipped to deal with ripping apart Wine).
Australia Forum Administrator #9
I use this message: LVM_SETCOLUMNORDERARRAY

See: http://msdn2.microsoft.com/en-us/library/aa932357.aspx
USA #10
athough there is other way for me to to make label or group by default is to compile my own customized version of mushclient? just a thought. where can i find the order thing in .c or .rc?

thanks!

EDIT:

alas seem there no makefile in mushclient 4.19 src zip.. I guess.. I probably couldn't compile it under x-cross compiler on linux then. oh well.
Amended on Thu 31 Jan 2008 05:03 AM by Maxhrk
Australia Forum Administrator #11
It uses MFC, so it won't compile under gcc, unfortunately. There will be heaps of references to MFC files (.h files) which are part of MFC and not in the MUSHclient distribution.
USA #12
Just did a quick test on Wine, and LVM_SETCOLUMNORDERARRAY throws a "fixme", so changing things around definitely will not work. Tracing it back through the source does show that I might actually be capable of fixing this... given a nice testing environment which will not screw up any current installation. I suppose I can just kind of fudge it on a separate account on this box.

And yes, recompiling MUSHclient with a different order in those menus would work, if you have a compiling environment and the MFC libraries for it. The cost required to get the MFC libraries is really the only thing completely preventing me from poking around with MUSHclient too much though. Winelib will not work for this, since MFC is a proprietary library created by Microsoft, and it will not included in Wine.
USA #13
i see... that how it is. thanks for the info. :)
USA #14
i wonder if next version if it possible to make just label on the first order. thanks.
Australia Forum Administrator #15
Any support for this idea?

There may be lots of people who prefer it the current way, and I am not sure about how well the "saved column" stuff will work if I rearrange the defaults.
USA #16
Well, how does MUSHclient load the current setup? It might be possible to load up the settings off the registry, build the array order, then build the labels out of that array.

Even though I do use Wine and would love to be able to rearrange these columns, I do not think that it is worth rearranging how MUSHclient works. This is localized to Wine users, and it only occurs because there is an function not implemented yet (keep in mind, Wine is still beta software). This is not in any way me suggesting that progress should not be made in fixing this issue, I just think that poking Wine source code would be a much better use of resources.