Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Modifying an app for Windows

13 Oct 2019   #1
richard9362

Windows 7 professional 32 bit
 
 
Modifying an app for Windows

Hi. I run LibreOffice and I've reported a bug. But because the organisation will receive lots of bug notifications I doubt whether the bug will be fixed soon. So, I am wondering whether it's possible for a layman such as I to effect a solution. I'm thinking it may be possible because one possible solution would be to have a check box show a warning in text. I'd have to add regular text somewhere in the code of the app, which would show in the check box that appears when you want to sort a column in a table. How realistic is my quest I wonder. Thanks. Rich

EDIT. Page at Bugzilla: 128090 – EDITING sort warning needed or some form of protection


My System SpecsSystem Spec
.
13 Oct 2019   #2
mrjimphelps

Linux Mint 18.2 xfce 64-bit (VMWare host) / Windows 8.1 Pro 32-bit (VMWare guest)
 
 

You should be able to modify the code like you say, since it is open-source software. But I have no idea how you could do that.

But I have another suggestion: If you are currently running LibreOffice 6.x, go back to the latest stable version of 5.x. The latest 5.x was the most mature version of 5.x prior to their moving up to 6.x. In the case of 5.x, that would be version 5.4.7.2.
My System SpecsSystem Spec
13 Oct 2019   #3
LMiller7

Windows 7 Pro 64 bit
 
 

LibreOffice is open source so in theory anyone could modify it. But we have to be realistic. Unless you are an experienced programmer with more than a casual familiarity with the language it is written in the chances of a successful fix are very small. Programming is simple if you don't consider the details but programming requires managing a great many details. It requires a mindset that many people struggle with and never really master.
My System SpecsSystem Spec
.

13 Oct 2019   #4
Alejandro85

Windows 7 Ultimate x64
 
 

It's entirely possible to do the change all by yourself, considering that LibreOffice is open source, so you have the means and the legal right to do it if you really want. Problem is that you need the knowledge to do such a thing, which is not so easy if you're "a layman" as you said.

Specifically, you need to do all these things to do the change yourself:
- Define the possible solution and contrast it with the existing code base
- Check out the current source code.
- Find the exact piece of code that would be affected.
- Add or modify the code to show the new option and the proposed warning.
- Compile it yourself.
- Deploy in your computer and run it.
- Test the change and correct any possible mistakes.
- Check that you haven't broken anything else (this is really hard if you don't know the codebase).
- Enjoy.

Optionally, if you want to publish your changes back into the official LibreOffice you also need to:
- Check your changes against the project style/convention.
- Make a patch out of your change or make a pull request.
- Correct any possible problems the maintainers might spot.

If you feel you can accomplish all that, by all means, do it! I personally find it a little difficult to anyone without a programming background to do so (and being a programmer myself, I also find it difficult for a codebase the size of LibreOffice without having an understanding on it). As a learning exercise, it can also be great and challenging if you want to do so.

And if you really want it so badly, you can ask a programmer friend if you have one, or just hire a freelancer developer to do the job.
My System SpecsSystem Spec
13 Oct 2019   #5
richard9362

Windows 7 professional 32 bit
 
 

Hi. Affecting a solution is probably beyond me, mostly because of the time it may take which is an issue at the moment. To recap: If you create a table in LibreOffice Writer, if you select only one column before moving on to the sort tick box, when you do sort you will destroy the data relationshiip across the columns (or across rows, same thing). You might want to do a test to prove it. In LibreOffice calc you would get a sort warning.

So, it seems to me the simplest option for Writer, would be to get the tick box to show a warning text. I attach a picture of what the tick box looks like for the sort function. It would be immensly useful if a warning was seen somewhere in that box.

As a lay person I wonder if the text string "Sort Criteria" could simply be lengthened to "Sort Criteria----WARNING: If...." Perhaps not a trivial matter as I thought, not entirely sure. I raise this issue, in an attempt to help other LibreOffice Writer users avoid spending hours making up tables only to have them sort of corrupted by failing to select all columns prior to moving on to the sort tick box.


Attached Images
Modifying an app for Windows-screenshot-tick-box-sort.png 
My System SpecsSystem Spec
Reply

 Modifying an app for Windows




Thread Tools




Similar help and support threads
Thread Forum
Modifying Windows XP 64 using Windows 7 Dlls to run Latest Programs!
:devil: Hello I want to run a program that requires windows vista or higher i want to run it on Windows XP Pro x64 sp2 i installed the program successfully including it's prerequisities
Installation & Setup
modifying clasic windows theme for windows 7
Hello, I have disabled the themes services on my windows 7 machine and decided to just use the clasic theme. However it has some "bugs" in it, displayed below. Is there any solution to using the classic theme withouth affecting the notepad/msword background colour, while keeping the changes? Or...
Themes and Styles
Modifying Windows 7 Search Behaviour
I've been searching high and low for some tutorial or little pieces of registry editing that can help with this issue, but i've had no luck. My main problem with Windows 7 search is that it displays all results in a virtual search folder. Opening a folder in those results will navigate to...
Customization
Modifying the items displayed under Favorites in Windows Explorer
Hiya. When I am in Windows Explorer and I select 'Desktop' under 'Favorites', it inserts all of the following items which are not on my desktop and I do not want to see displayed: Libraries, my user folder, My Computer, Networks and the Control Panel Is there any ways to suppress these...
General Discussion
modifying ei.cfg
I performed these actions a good while ago buy removing the ei.cfg file to make a universal Windows 7 and Vista DVD, only to run it by the guys on the microsoft site and they told me that i was modifying the windows installation files and that it was illegal to copy or modify and of the files on...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 21:16.
Twitter Facebook