Re: GSoC: Libreoffice Theme (VCL_WIN Patch)

2024-08-17 Thread Sahil Gautam
Hi, Last few weeks I have been polishing the patches. Latest updates are - we decided to keep the colors in a single dialog (the app color dialog). - made some changes in qt related code to report the colors correctly. before this, `StyleSettings::WindowColor()` was actually base color from t

Re: GSoC: Libreoffice Theme (VCL_WIN Patch)

2024-07-22 Thread Sahil Gautam
Hi, Last few days, I made various attempts to setup a MacOs VM on my Archlinux, but most of them were unusable. Then I went out and got a graphics card (rx6600 8g) to pass it to the VM using vfio (also upgraded ram to 64G). It didn't work, as for vfio, I require 2 displays connected to the comp

Re: GSoC: Libreoffice Theme

2024-07-12 Thread Regina Henschel
Hi Sahil, Sahil Gautam schrieb am 12.07.2024 um 22:51: Hi, since I cannot use `ccache` on windows, it's taking very long to compile even a single line change in a cxx file. Any solutions? Regards Sahil Gautam See section "Partial build" in https://wiki.documentfoundation.org/Development/Gene

Re: GSoC: Libreoffice Theme

2024-07-12 Thread Sahil Gautam
Hi, since I cannot use `ccache` on windows, it's taking very long to compile even a single line change in a cxx file. Any solutions? Regards Sahil Gautam On 7/12/24 11:41 PM, Sahil Gautam wrote: Hi, Last few days I was working on the application colors dialog, adding a way to reset the theme

Re: GSoC: Libreoffice Theme

2024-07-12 Thread Sahil Gautam
Hi, Last few days I was working on the application colors dialog, adding a way to reset the theme colors. For the automatic theme, the system colors are read again. For themes, since there was no way of getting the default colors, once the theme is loaded into the registry, so each theme now

Re: GSoC: Libreoffice Theme WIN (not getting stdout, cannot do printfdebugging)

2024-07-02 Thread Kurt Nordback
For the record, this also works in gdb (and front-ends such as ddd): ignore where is the breakpoint number and is the number of times to ignore it. -- Kurt On Tuesday, July 2nd, 2024 at 12:41 AM, Mike Kaganski wrote: > On 01.07.2024 23:42, Sahil Gautam wrote: > > > Hi, I successfully b

Re: GSoC: Libreoffice Theme WIN (not getting stdout, cannot do printfdebugging)

2024-07-01 Thread Mike Kaganski
On 01.07.2024 23:42, Sahil Gautam wrote: Hi, I successfully built libreoffice on windows using LODE. The problem is that I cannot see stdout on the terminal, or in vscode's terminal. I rely on that for checking if opening this dialog trips this breakpoint or not, and how many times does it do s

Re: GSoC: Libreoffice Theme WIN (not getting stdout, cannot do printfdebugging)

2024-07-01 Thread Mike Kaganski
On 02.07.2024 11:07, Jim Raykowski wrote: For me, running with instdir/program/soffice.exe doesn't show std::cout output in the terminal. Running with instdir/program/soffice.bin does. https://mikekaganski.wordpress.com/2018/11/21/proper-console-mode-for-libreoffice-on-windows/ -- Best regards

Re: GSoC: Libreoffice Theme WIN (not getting stdout, cannot do printfdebugging)

2024-07-01 Thread Jim Raykowski
For me, running with instdir/program/soffice.exe doesn't show std::cout output in the terminal. Running with instdir/program/soffice.bin does. On Mon, Jul 1, 2024 at 9:15 PM Heiko Tietze wrote: > > In cygwin environment, don't you run instdir/program/soffice.exe? Works well > here. > > > On 01.0

Re: GSoC: Libreoffice Theme WIN (not getting stdout, cannot do printfdebugging)

2024-07-01 Thread Heiko Tietze
In cygwin environment, don't you run instdir/program/soffice.exe? Works well here. On 01.07.24 8:42 PM, Sahil Gautam wrote: Hi, I successfully built libreoffice on windows using LODE. The problem is that I cannot see stdout on the terminal, or in vscode's terminal. I rely on that for checking

Re: GSoC: Libreoffice Theme WIN (not getting stdout, cannot do printfdebugging)

2024-07-01 Thread Sahil Gautam
Hi, I successfully built libreoffice on windows using LODE. The problem is that I cannot see stdout on the terminal, or in vscode's terminal. I rely on that for checking if opening this dialog trips this breakpoint or not, and how many times does it do so. using a debugger seems a good choice,

Re: GSoC: Libreoffice Theme WIN (failed on ->./autogen.sh failed, visual-studio not found)

2024-06-30 Thread Heiko Tietze
On 29.06.24 9:46 PM, Ilmari Lauhakangas wrote: Did you remember to add to your autogen.input --with-visual-studio=2022 Stumbled over the same problem ;-). As always, reading the notes helps. https://wiki.documentfoundation.org/Development/BuildingOnWindows#Notes_on_older_and_non-default_MS_comp

Re: GSoC: Libreoffice Theme WIN (failed on ->./autogen.sh failed, visual-studio not found)

2024-06-29 Thread Ilmari Lauhakangas
Did you remember to add to your autogen.input --with-visual-studio=2022 Ilmari On 29.6.2024 22.19, Sahil Gautam wrote: Hi, So I was setting up Libreoffice Dev on windows (Yes, windows), I was following the LODE guide from the wiki. I faced this error while running ./autogen.sh checki

Re: GSoC: Libreoffice Theme WIN (failed on ->./autogen.sh failed, visual-studio not found)

2024-06-29 Thread Sahil Gautam
Hi, So I was setting up Libreoffice Dev on windows (Yes, windows), I was following the LODE guide from the wiki. I faced this error while running ./autogen.sh checking whether build should auto use hardening compiler flags... no checking whether to build a Commun

Re: GSoC: Libreoffice Theme (application crashes when I modify ColorConfig on startup)

2024-06-29 Thread Michael Weghorn
On 2024-06-28 19:37, Sahil Gautam wrote: I spent quite some time with QStyle trying to get it to paint the UI elements, which complicated stuff, and took a lot of time, where it was just palette manipulation (mostly). Also I found that we handle the menubar separately, and it's not drawn via dr

Re: GSoC: Libreoffice Theme (application crashes when I modify ColorConfig on startup)

2024-06-28 Thread Sahil Gautam
Hi, I missed the email for the last week, sorry for that. So the patch for gtk was pushed, and the one for QT will be out by tommorrow(+1 day). I spent quite some time with QStyle trying to get it to paint the UI elements, which complicated stuff, and took a lot of time, where it was just palet

Re: GSoC: Libreoffice Theme (application crashes when I modify ColorConfig on startup)

2024-06-11 Thread Sahil Gautam
Hi, so the issue has been resolved,https://gerrit.libreoffice.org/c/core/+/168016/comment/b977e358_def16582/ [Rafael's comment on missing registry entry for LoadDefaultSystemColors]. Now it loads the default colors into the registry once (as expected). On 6/11/24 4:04 AM, Sahil Gautam wrote: H

Re: GSoC: Libreoffice Theme (application crashes when I modify ColorConfig on startup)

2024-06-10 Thread Sahil Gautam
Hi went through the design of data flow this week. I found myself running away from the VCL and it's colors, or rather from the question of "how to get 2 way exchange of colors working". https://gerrit.libreoffice.org/c/core/+/168016 Here's the patch [WIP] There is quite some information to k

Re: GSoC: Libreoffice Theme (week - 1 update)

2024-05-29 Thread Sahil Gautam
Hi, https://gerrit.libreoffice.org/c/core/+/168016 updated patch trying to store the expert configuration as a part of `StyleSettings`. Next step would be to discriminate between different settings based on the scheme selected. Once that's done, I will start working on the widget toolkits to m

Re: GSoC: Libreoffice Theme (week - 1 update)

2024-05-29 Thread Sahil Gautam
Hi, https://gerrit.libreoffice.org/c/core/+/168016 updated patch trying to store the expert configuration as a part of `StyleSettings`. Next step would be to discriminate between different settings based on the scheme selected. Once that's done, I will start working on the widget toolkits to m

Re: GSoC: Libreoffice Theme (week - 1 update)

2024-05-26 Thread Michael Weghorn
On 2024-05-27 06:48, Sahil Gautam wrote: @Michael made a vaild point. Haven't played around with the ColorConfig much, (slow PC reasons), but this week I will go  through that. Things will be more clear then. This is my take on it now. - Read the colors from the widget toolkits and store it som

Re: GSoC: Libreoffice Theme (week - 1 update)

2024-05-26 Thread Sahil Gautam
@Michael made a vaild point. Haven't played around with the ColorConfig much, (slow PC reasons), but this week I will go  through that. Things will be more clear then. This is my take on it now. - Read the colors from the widget toolkits and store it somewhere.   The entries in the `Color Color

Re: GSoC: Libreoffice Theme (week - 1 update)

2024-05-26 Thread Michael Weghorn
On 2024-05-27 05:04, Sahil Gautam wrote: The project is about not depending on the OS for colors and implement "Themes" in Libreoffice. So as per my understanding (opinions invited), all the `Set...Color()` calls in the `bool UpdateSettings(AllSettings& rSettings)` functions, which take colors f

Re: GSoC: Libreoffice Theme (week - 1 update)

2024-05-26 Thread Sahil Gautam
Hi, the coding period starts today. The project is about not depending on the OS for colors and implement "Themes" in Libreoffice. So as per my understanding (opinions invited), all the `Set...Color()` calls in the `bool UpdateSettings(AllSettings& rSettings)` functions, which take colors from th

Re: GSoC: Libreoffice Theme (week - 1 update)

2024-05-24 Thread Sahil Gautam
Hi,the WIP prototype patch is linked in the sources below. I created an extension and found that we can overwrite the expert configuration from the extension. Then I searched on the web for what options do these toolkits provide in terms of styling. For gtk, the only option that I found was to g

GSoC: Libreoffice Theme (week - 0 update)

2024-05-14 Thread Printf Debugging
Hi, I am Printf from India, and I will be working on the "Libreoffice Theme" project this summer. First of all, many many thanks to Heiko and Rafael for mentoring the project, and to the community for being so welcoming! This week, I have been wrapping up some patches that I had assigned myself