Modifying an app for Windows


  1. Posts : 11
    Windows 7 professional 32 bit
       #1

    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
    Last edited by richard9362; 13 Oct 2019 at 06:16.
      My Computer


  2. Posts : 1,784
    Linux Mint 18.2 xfce 64-bit (VMWare host) / Windows 8.1 Pro 32-bit (VMWare guest)
       #2

    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 Computer


  3. Posts : 2,497
    Windows 7 Pro 64 bit
       #3

    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 Computer


  4. Posts : 2,468
    Windows 7 Ultimate x64
       #4

    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 Computer


  5. Posts : 11
    Windows 7 professional 32 bit
    Thread Starter
       #5

    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 Thumbnails Attached Thumbnails Modifying an app for Windows-screenshot-tick-box-sort.png  
    Last edited by richard9362; 14 Oct 2019 at 11:51.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 23:39.
Find Us